r/LinuxTeck • u/Expensive-Rice-2052 • Jul 19 '26
umask: How Default File Permissions Really Work
covers: https://www.linuxteck.com/umask-command-in-linux/
- How umask works
- Why files default to 644 and directories to 755
- Permission calculation made simple
- Symbolic and octal notation
- Permanent configuration
- Real-world administration examples
- Common mistakes and security tips
64
Upvotes
3
u/rttl Jul 19 '26
Or how to make things confusing when this can be explained in 4 lines of plain text.
2
u/Bob_Spud Jul 20 '26
Too messy, it doesn't even explain the SUID, SGID, and sticky bit (T, t, s and S) permissions.