Quote:
Originally Posted by shawnbishop
Hi
If user sam is just a user
# chmod 775 /var/www/html/sams_website
|
This **might** work---some clarification:
The permissions are in the order: owner, group, others Thus, the above command gives full privileges to the owner and the group. This will work only if Sam is a member of the file's assigned group.
To give access to any user: chmod 777
To give access to ONLY Sam, where he is not the owner of the file, then Sam would have to be the only member of the file's group
If you're wondering what all the numbers mean:
for each digit: 4=read, 2=write, 1=execute
7= full privilege
6= read/write only
5= read/execute only
etc.