Say I have a group called mygroup and I want it to have a permission of rwx (777) to the folder /var/www . How do I do this? What is the appropriate command to do this in ubuntu?
feedback
|
The sudo part of the command is just providing super user access. This needs to be run from a terminal session.
will apply to all files and sub folders recursively, underneath /var/www | |||
feedback
|
CAUTION: This will overwrite your group ownership and permissions of all files under The 'g' will cause newly-created files or directories to take the same group as the directory they are created in. This is needed to preserve the ownership of newly-created files and directories. | |||
|
feedback
|