June 22nd, 2005

thinking, perplexed

Why don't Unix users use symbolic permissions anymore?

Watching junior to intermediate level sysadmins on a handful of Unix-related IRC channels, I've noticed that no-one seems to use symbolic permissions with "chmod" anymore. This sort of puzzles me, because symbolic permissions are the only way to change some permissions without setting all of them at once. So, I ask of you:

Poll #517957 Symbolic permissions

When you use unix's "chmod" command to set read, write or execute permissions, you primarily use:

symbolic permissions (u=rwx,a=rx)
15(39.5%)
numeric permissions (755)
23(60.5%)

When you use unix's "chmod" command to set setuid, setgid, and sticky bits, you primarily use:

symbolic permissions (u+s,+t)
19(54.3%)
numeric permissions (6755)
16(45.7%)

I'd love to hear your thoughts on why you, or the people I see on IRC, use one or the other. Me, I tend to use numeric for straightforward file permissions (755, 644, 700, 600) and symbolic for anything that isn't those four, and always symbolic for setting sticky bits and setuidness.
  • Current Mood
    curious curious