xfs
[Top] [All Lists]

TAKE - Restrict chown

Subject: TAKE - Restrict chown
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Mon, 18 Feb 2002 12:40:43 -0600
Sender: owner-linux-xfs@xxxxxxxxxxx
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



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