xfs
[Top] [All Lists]

Re: bug with chown with kernel 2.6.0-test1?

To: Ethan Benson <erbenson@xxxxxxxxxx>
Subject: Re: bug with chown with kernel 2.6.0-test1?
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 29 Jul 2003 09:34:47 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20030729072015.GG6786@xxxxxxxxxxxxxxx>
Organization:
References: <200307281831.28840.marc@xxxxxxxxxxx> <1059411469.28137.17.camel@xxxxxxxxxxxxxxxxxxxxxx> <20030729072015.GG6786@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 2003-07-29 at 02:20, Ethan Benson wrote:
> On Mon, Jul 28, 2003 at 11:57:50AM -0500, Eric Sandeen wrote:
> > restrict_chown (the default) means that only root can "give away" files
> > to another user via chown.
> > 
> > But yes, this does look like a bug.
> 
> what does? appears to be correct behavior to me:
> 
> > > fs.xfs.restrict_chown = 1
> > > marco:/dvdrip# touch test
> > > marco:/dvdrip# chown marc test
> > > chown: changing ownership of `test': Operation not permitted
> 
> marco != root && marco != marc, chown not permitted.

he is doing this as root; he should be able to chown the file to marc.
(His original mail said that all operations were performed as root)

etc...

-Eric

-- 
Eric Sandeen      [C]XFS for Linux   http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.          651-683-3102


<Prev in Thread] Current Thread [Next in Thread>