xfs
[Top] [All Lists]

Re: bug with chown with kernel 2.6.0-test1?

To: linux-xfs@xxxxxxxxxxx
Subject: Re: bug with chown with kernel 2.6.0-test1?
From: Marc Cousin <marc@xxxxxxxxxxx>
Date: Mon, 28 Jul 2003 20:35:02 +0200
In-reply-to: <1059411469.28137.17.camel@xxxxxxxxxxxxxxxxxxxxxx>
References: <200307281831.28840.marc@xxxxxxxxxxx> <1059411469.28137.17.camel@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: marc@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.5.2
It doesn't seem to be there anymore with 2.6.0-test2. Don't know what solved 
it, I didn't see anything related in the Changelog ...



On Monday 28 July 2003 18:57, 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.
>
> -eric
>
> On Mon, 2003-07-28 at 11:31, Marc Cousin wrote:
> > I don't know if :
> > - This is the right place to report it
> > - It is a bug
> >
> > I am having strange chown behaviour
> >
> > all the operations below are done as root
> > -------------------------------------------------------
> > I first try it whith restrict chown to 1
> >
> > fs.xfs.stats_clear = 0
> > fs.xfs.sync_interval = 30000
> > fs.xfs.error_level = 3
> > fs.xfs.panic_mask = 0
> > fs.xfs.irix_symlink_mode = 0
> > fs.xfs.irix_sgid_inherit = 0
> > fs.xfs.restrict_chown = 1
> > marco:/dvdrip# touch test
> > marco:/dvdrip# chown marc test
> > chown: changing ownership of `test': Operation not permitted
> > -----------------------------------------------------
> > then with restrict chown to 0
> > marco:/dvdrip# touch test
> > marco:/dvdrip# chown marc test
> > marco:/dvdrip# chown root test
> > chown: changing ownership of `test': Operation not permitted
> >
> >
> > I don't think this is a normal behaviour (in either case), but the
> > restrict chown is confusing me a little bit ...
> >
> >
> >
> > Meanwhile, I'm going to install 2.6.0-test2... :)

-- 
   If you care, you just get disappointed all the time. If you don't care
nothing matters so you are never upset.   -- Calvin


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