Linux Permissions – Understanding Permissions Numbers in Linux

chmodlinuxpermissions

Going through with permissions and understanding permissions, I understand thats the 3 is not part of the owner, group, other. I also know that 7 is the highest permission for those three sets, what is the 9 in the permissions set (3907)?

-rw——-. 1 root root 3907 Mar 4 08:34 sshd_config

Best Answer

As Tilman stated the 3907 is file size. The permissions are shown as -rw-------.

This case rw- --- --- would be I believe 600 in permissions. Which would be file owner can read and write it. Groups and Other can not do anything.

You can read up a bit here, seems to be a nice little break down of it:

https://ss64.com/bash/chmod.html

Related Topic