uabrc.github.io
uabrc.github.io copied to clipboard
Managing group ownership (chgrp)
What is inaccurate?
The current instructions do not account for all the scenarios with changing group and file permissions with a user.
Include the following instructions;
(i) Verify that the parent directory/directories have the setgid (s) bit in the file permission.
(ii) If setgid bit is missing, Change group ownership of the directory using,
chgrp groupname $directory
(ii) Then apply setgid permission to the $directory:
chmod g+s $directory
This will cause all the files created under the $directory to be owned by the group.
Where is the inaccuracy?
https://docs.rc.uab.edu/workflow_solutions/shell/