Re: EXT2 Filesystem permissions (bug)?

From: H. Peter Anvin (
Date: Mon Jun 25 2001 - 16:42:50 EST

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
     (*note Symbolic Modes::.). But `ls' combines multiple bits into
     the third character of each set of permissions as follows:
          If the setuid or setgid bit and the corresponding executable
          bit are both set.

          If the setuid or setgid bit is set but the corresponding
          executable bit is not set.

          If the sticky bit and the other-executable bit are both set.

          If the sticky bit is set but the other-executable bit is not

          If the executable bit is set and none of the above apply.



<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot."
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:13 EST