Filesystem Permissions
Permission
|
On File
|
On directory
|
|
|
|
Read
|
View
file contents
|
List
directory contents (ls)
|
Write |
Alter
file contents
|
Alter
directory contents (delete files, create files)
|
Execute |
Run
an executable file
|
Make
it the current directory (cd to it
|
Numeric codes follow octal notation
user group other
4 2 1 4 2 1 4 2
1
r w x r
w x r w x
For
example, rwxr—--x becomes 741
No comments:
Post a Comment
Dear visitor,
Please do not post spam. All comments will be moderated before approval.