Linux › Section B · Basic commands and the directory hierarchy › Topic B.11

File modes and permissions

Every file on Linux records who owns it and who may read, change or run it. Reading and setting these permissions, in letters or in octal, is one of the first real administration skills, and it explains a large share of the errors you will meet.

In this topic

  • Reading a file mode
  • Read, write and execute
  • Octal notation
  • Changing modes with chmod
  • Worked example: two ways to set a mode
  • Owners and groups
  • The umask
  • Setuid, setgid and the sticky bit
  • Worked example: a shared project directory
  • ACLs and symbolic links
  • Common mistakes to avoid
  • Key takeaways

This topic is part of Wuanberri Pro. Checking your access…

← Previous topicNext topic →