Create a Set-GID Directory for Collaboration
Tasks
- Create a directory named
collaboration
in the ~/project
directory.
- Set the set-GID bit on the
collaboration
directory to ensure that all files and subdirectories created within it inherit the group ownership of the parent directory.
Requirements
- The directory must be created in the
~/project
directory.
- The directory must be named
collaboration
.
- The set-GID bit must be set on the
collaboration
directory.
Example
After completing this step, the directory structure should look like this:
~/project/
āāā collaboration/
And the permissions on the collaboration
directory should be:
drwxrwsr-x. 2 labex labex 6 Apr 12 12:34 collaboration
Note the s
in the group execute bit, indicating that the set-GID bit is set.