From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: EXT2 Filesystem permissions (bug)?
Date: 25 Jun 2001 14:42:50 -0700 [thread overview]
Message-ID: <9h8b8q$s95$1@cesium.transmeta.com> (raw)
In-Reply-To: <m28zigi7m4.fsf@boreas.yi.org.> <Pine.LNX.4.30.0106251729450.18996-100000@coredump.sh0n.net>
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
next prev parent reply other threads:[~2001-06-25 21:43 UTC|newest]
Thread overview: 18+ 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 17:57 ` Rik van Riel
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 [this message]
2001-06-25 22:20 ` Shawn Starr
2001-06-26 22:23 ` Kenneth Johansson
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 0:53 ` VM tuning through fault trace gathering [with actual code] Marcelo Tosatti
2001-06-26 12:54 ` John Fremlin
2001-06-26 13:52 ` Marcelo Tosatti
2001-06-26 15:38 ` John Fremlin
2001-06-27 10:09 ` Marcelo Tosatti
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='9h8b8q$s95$1@cesium.transmeta.com' \
--to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®