| To: | Eric Sandeen <sandeen@xxxxxxx> |
|---|---|
| Subject: | Re: chown32() weirdness |
| From: | Christoph Hellwig <hch@xxxxxxxxxx> |
| Date: | Mon, 18 Feb 2002 18:12:15 +0100 |
| Cc: | Wessel Dankers <wsl@xxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.33.0202181050220.17806-100000@chuckle.americas.sgi.com>; from sandeen@sgi.com on Mon, Feb 18, 2002 at 11:02:51AM -0600 |
| References: | <Pine.LNX.4.33.0202181038540.17806-100000@chuckle.americas.sgi.com> <Pine.LNX.4.33.0202181050220.17806-100000@chuckle.americas.sgi.com> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
On Mon, Feb 18, 2002 at 11:02:51AM -0600, Eric Sandeen wrote:
> Ok, I guess this is a difference between Irix and Linux...
There are two possible chown semantics. Linux has a restricted chown
by default that only allows root to change owners and thus defines
_POSIX_CHOWN_RESTRICTED.
Some other systems (dunno about IRIX) allow both variants, depending
on configuration. Then pathconf() with _PC_CHOWN_RESTRICTED is used to
find out which semantics apply to a specific filename.
Christoph
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: chown32() weirdness, Eric Sandeen |
|---|---|
| Next by Date: | Re: chown32() weirdness, Walt H |
| Previous by Thread: | Re: chown32() weirdness, Walt H |
| Next by Thread: | Re: chown32() weirdness, Stephen Lord |
| Indexes: | [Date] [Thread] [Top] [All Lists] |