[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TAKE - Restrict chown



We removed xfs's call to inode_change_ok, but then we missed Linux's
check for chown capability, relying on XFS.  XFS was configured
to allow unrestricted chown, which is not the way Linux behaves...

In short, don't allow non-super-users to give away files with
chown().


Date:  Mon Feb 18 10:37:23 PST 2002
Workarea:  stout.americas.sgi.com:/localhome/eric/2.4.x-xfs/workarea-reallyclean

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  2.4.x-xfs:slinx:111992a
linux/fs/xfs/linux/xfs_globals.c - 1.25
	- Don't let non-super-user give away files by default