Imagine you are setting up user permissions for a shared directory. You want the files created by users to inherit the group ownership of the directory. Which special permission would you set on the directory?

  • SetGID
  • SetUID
  • Sticky bit
  • Chmod
To ensure that files created within a directory inherit the group ownership of the directory, you would set the SetGID (Set Group ID) permission on the directory. This special permission allows new files to inherit the group ownership of the parent directory, which is often used for shared directories.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *