Re: EXT2 Filesystem permissions (bug)?

From: Kenneth Johansson (
Date: Tue Jun 26 2001 - 17:23:04 EST

Interesting but I wonder how much this helps someone that not already know what it is. Should not the ls manual also contain something that explains the meaning instead of just the mapping from bits to symbol.

Do linux even support the sticky bit (t) I can't see a reason to use it, why would I want the file to be stored in the swap ??

Also I think S (setuid but no execute bit) have something to do with file locking but I'am not shure exactly how it works.

"H. Peter Anvin" wrote:
> Followup to: <>
> By author: Shawn Starr <>
> In newsgroup:
> >
> > Is this a bug or something thats undocumented somewhere?
> >
> > d--------T
> > and
> > drwSrwSrwT
> >
> > are these special bits? I'm not aware of +S and +T
> >
> It's neither a bug nor undocumented.
> "info ls" would have told you the following:
> The permissions listed are similar to symbolic mode
> specifications
> (*note Symbolic Modes::.). But `ls' combines multiple bits into
> the third character of each set of permissions as follows:
> `s'
> If the setuid or setgid bit and the corresponding executable
> bit are both set.
> `S'
> If the setuid or setgid bit is set but the corresponding
> executable bit is not set.
> `t'
> If the sticky bit and the other-executable bit are both set.
> `T'
> If the sticky bit is set but the other-executable bit is not
> set.
> `x'
> If the executable bit is set and none of the above apply.
> `-'
> Otherwise.
> -hpa
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:15 EST