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.
Loading...
Related Quiz
- In Linux, user-specific configuration files, sometimes starting with a dot (.), are typically located in the _________ directory.
- Which file on an SSH client contains the public keys of remote hosts it has connected to?
- You are setting up a new server and need to ensure that only specific users can SSH into the machine. Which configuration file would you modify to achieve this?
- n shell scripting, which loop will continue executing as long as the specified condition remains true?
- In Debian-based systems, the ________ command is used to search for packages.