Tuesday, 8 June 2010

Linux Commands

chown:



Regular users cannot change the ownership of a file, root can only do that. Group can be changed by regular user to the group which the users belongs to.



Example : chown filename



To allow non-root users to change the owner of a file, change the suid of the chown command as given below



chmod u+s chown





No comments:

Post a Comment