What's that capital 'T' in the permissions mean, and how does it work? Is it related to this 'sticky bit' thing I've heard about but never quite understood?
What's that capital 'T' in the permissions mean, and how does it work? Is it related to this 'sticky bit' thing I've heard about but never quite understood?
The uppercase
T
appears when the x bit for "others" (ie in the last position) is not set. Both of these directories have the sticky bit set, but the second one has no execute permission for "others"Since it is replaced by the sticky bit's
[tT]
, we need some way of knowing whether the directory has execute permission for "others" or not, hence the difference in caseIn our file browser, the Permissions tab under Properties shows the differences between directories with and without execute permissions more clearly: we need execute permission to access (enter or stat) a directory.
Here's what Wikipedia has to say about the sticky bit on directories: