Open main menu

CDOT Wiki β

Changes

OPS102 - Permissions

230 bytes added, 13:44, 26 September 2023
Viewing Permissions
r-- the group has read permission
r-- others have read permission
 
Note that the user who owns the file is listed as <code>root</code> and the group that owns the file is listed as <code>root</code> -- these are not the same! The user account and group happen to have the same name in this case.
To view the permisions on a directory, you may need to specify the <code>-d</code> option to the <code>ls</code> command, which causes it to display the specified directory instead of the ''contents'' of that directory. For example: