lkml.org 
[lkml]   [2001]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: EXT2 Filesystem permissions (bug)?

oh ;)

I never noticed that info before, then again 2 hours of sleep might be the
cause :)

On 25 Jun 2001, H. Peter Anvin wrote:

> Followup to: <Pine.LNX.4.30.0106251729450.18996-100000@coredump.sh0n.net>
> By author: Shawn Starr <spstarr@sh0n.net>
> In newsgroup: linux.dev.kernel
> >
> > 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
> --
> <hpa@transmeta.com> at work, <hpa@zytor.com> in private!
> "Unix gives you enough rope to shoot yourself in the foot."
> http://www.zytor.com/~hpa/puzzle.txt
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.089 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site