On Fri, Jun 27, 2003 at 03:45:37AM -0700, bugzilla-daemon@xxxxxxxxxxx wrote:
> http://oss.sgi.com/bugzilla/show_bug.cgi?id=256
>
> Summary: Strange owner change using fakeroot
> Product: Linux XFS
> Version: unspecified
> Platform: All
> OS/Version: Linux
> Status: NEW
> Severity: major
> Priority: High
> Component: XFS kernel code
> AssignedTo: xfs-master@xxxxxxxxxxx
> ReportedBy: duck@xxxxxxxxxxxx
>
>
> I'm using kernel 2.4.21 with XFS patch ck3 from Con Kolivas
> (http://members.optusnet.com.au/ckolivas/kernel/).
> I'm packaging some softwares for the Debian distribution.
> As it is cleaner and more secure, i am using fakeroot to simulate root
> permissions over my build directory.
> So i am using a normal user, and the build directory and ALL the files and
> subdirectories inside are owned by this user.
> At the end of the packaging process, i see an error "permission denied" which
> only happen when building on my xfs partition.
> Looking for explanation, i found files previously owned by the normal user now
> owned by root !!!
> It happens either when doing su or when directly login with the normal user
> account.
it appears the default for the fs/xfs/restrict_chown sysctl is 0 in
2.4.21 split patches.
this is wrong.
for a quick workaround run:
sysctl -w fs/xfs/restrict_chown=1
--
Ethan Benson
http://www.alaska.net/~erbenson/
pgpll6Dq9RcwI.pgp
Description: PGP signature
|