From: Kenneth Johansson <ken@canit.se>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: EXT2 Filesystem permissions (bug)?
Date: Wed, 27 Jun 2001 00:23:04 +0200 [thread overview]
Message-ID: <3B390B48.D444B7C5@canit.se> (raw)
In-Reply-To: <m28zigi7m4.fsf@boreas.yi.org.> <Pine.LNX.4.30.0106251729450.18996-100000@coredump.sh0n.net> <9h8b8q$s95$1@cesium.transmeta.com>
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: <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
next prev parent reply other threads:[~2001-06-26 22:23 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-25 15:26 VM tuning through fault trace gathering [with actual code] John Fremlin
2001-06-25 15:26 ` John Fremlin
2001-06-25 17:57 ` Rik van Riel
2001-06-25 17:57 ` Rik van Riel
2001-06-25 21:15 ` John Fremlin
2001-06-25 21:15 ` John Fremlin
2001-06-25 21:33 ` EXT2 Filesystem permissions (bug)? Shawn Starr
2001-06-25 21:42 ` H. Peter Anvin
2001-06-25 22:20 ` Shawn Starr
2001-06-26 22:23 ` Kenneth Johansson [this message]
2001-06-26 22:40 ` Hua Zhong
2001-06-26 23:04 ` Albert D. Cahalan
2001-06-27 0:02 ` Guest section DW
2001-06-27 9:37 ` Luigi Genoni
2001-06-25 21:47 ` Andreas Dilger
2001-06-25 22:10 ` Luigi Genoni
2001-06-26 14:02 ` VM tuning through fault trace gathering [with actual code] Scott F. Kaplan
2001-06-26 19:29 ` John Fremlin
2001-06-26 0:53 ` Marcelo Tosatti
2001-06-26 0:53 ` Marcelo Tosatti
2001-06-26 12:54 ` John Fremlin
2001-06-26 12:54 ` John Fremlin
2001-06-26 13:52 ` Marcelo Tosatti
2001-06-26 13:52 ` Marcelo Tosatti
2001-06-26 15:38 ` John Fremlin
2001-06-26 15:38 ` John Fremlin
2001-06-27 10:09 ` Marcelo Tosatti
2001-06-27 10:09 ` Marcelo Tosatti
2001-06-27 12:47 ` Scott F. Kaplan
2001-06-27 13:51 ` Marcelo Tosatti
2001-06-27 16:05 ` John Fremlin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B390B48.D444B7C5@canit.se \
--to=ken@canit.se \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.