Setting Folder Permissions
-
3. Setting Up Folder Permissions
Next to Set Folder Group Ownership
This in case the Owner is the SuperUser:sudo chmod -R root:[NEWGROUP] /[path/2/target]
(The Command Change Ownership Recursively to Directory and All Included Entities.)
But instead if the Owner is the User then Change “root” with “$USER” in the above Command.
So for Example the Command should be like:sudo chmod -R root:rvm /usr/local/rvm
Contents