xfs
[Top] [All Lists]

Re: fchown permission check bug

To: Jakob Østergaard <joe@xxxxxxxxxxxx>
Subject: Re: fchown permission check bug
From: Steve Lord <lord@xxxxxxx>
Date: Mon, 27 Mar 2006 09:51:11 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <4427BEFD.5060509@xxxxxxxxxxxx>
References: <4427BEFD.5060509@xxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5 (X11/20051201)
Check the value of /proc/sys/fs/xfs/restrict_chown, this should be 1 to enable
this.

Steve

Jakob Østergaard wrote:

Dear list,

I encountered a problem with XFS in kernel 2.6.15.4 - if this is not the proper place to send the bug report, please let me know.

Problem: A non-root process with CAP_CHOWN cannot fchown() a file.

vsftpd shows this problem - on ext3 it will successfully fchown uploaded files, whereas on XFS the fchown call will fail.

I guess this should be fairly simple to reproduce - if you need more information please let me know.



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