FAQ: Manipulation - ls -l

Thanks for responding! I’m talking about learning more about the first item in the column, Access rights. It is defined in the lesson but doesn’t explain how these characters(I thought maybe it was some type of code?) like ‘drwxr-xr-x 5’ dictate an action.

d is for directory, then we have 3 permissions (read ®, write (w) and execute (x)) for the different groups (owner, group, and others). so for example action directory:
d - directory
r - read permission for owner
w - write permission for owner
x - execute permission (is needed for directories or executable files) for owner
r - read permission for group
- no write permission for group
x - execute permission for group
then r-x is the same for others

1 Like