chmod -R 754 /www/test
7 – Owner(current user)
5 – Group(set by owner)
4 – anyone else
Basic numbers make persmission settings as follows
0 – no permission, this person cannot read, write or execute
1 – execute only
2 – write only
3 – execute and write only (1 + 2)
4 – read only
5 – execute and read only (1 + 4)
6 – write and read only (2 + 4)
7 – execute, write and read (1 + 2 + 3)
No comments:
Post a Comment