Re: chown and setuid bits

2016-09-18 Thread Greg Troxel
Jan Schaumann writes: > Hello, > > The manual page for chown(1) notes: > > The ownership of a file may only be altered by a super-user for > obvious security reasons. > > Unless invoked by the super-user, chown clears the set-user-id and > set-group-id bits on a file to prevent a

chown and setuid bits

2016-09-18 Thread Jan Schaumann
Hello, The manual page for chown(1) notes: The ownership of a file may only be altered by a super-user for obvious security reasons. Unless invoked by the super-user, chown clears the set-user-id and set-group-id bits on a file to prevent accidental or mischievous creation of