understanding and decoding the file mode value from stat function output
The mode from your question corresponds to a regular file with 644 permissions (read-write for the owner and read-only for everyone else), but don’t take my word for it. $ touch foo $ chmod 644 foo $ perl -le ‘print +(stat “foo”)[2]’ 33188 The value of $mode can be viewed as a decimal integer, but … Read more