This website uses cookies to ensure you get the best experience on our website. Privacy Policy OK

Special Permissions (Linux)

| See more in Information Technology

You'll become familiar with special permissions in the Linux operating system.

Created Date 05.26.15
Last Updated 05.27.15
Viewed 24 Times
Your browser doesn't support HTML5. System.Collections.Generic.List`1[System.String] System.Collections.Generic.List`1[System.String]
submit to reddit

Would you like to build your own game?

It's easy!

Go to the GameBuilder and get started!

Topics of this game:
  • In addition to regular permissions, there are three special permissions for files and directories that are optional in a Linux operating system.
  • Set User ID (SUID) allows a user executing a file to become the temporary file owner.
  • Set User ID (SUID) can be applied to both files and directories.
  • The Set User ID (SUID) permission is only applicable to binary compiled programs and can't be used on shell scripts.
  • Set Group ID (SGID) can be applied to either a file or a directory
  • If Set Group ID is set on a file, the user executing the file will become a member of the file's group.
  • If Set Group ID (SGID) is set on a directory. Any files contained inside will execute when the user becomes a member of the file's group.
  • Sticky bit is only applicable to files.
  • Sticky bit ensures a user can only delete his or her own files regardless of their write permissions to the directory.
  • Special permissions can be set independently of regular permissions on a file or directory.
  • Special permissions require the execute permission to function.