Linux System Administration
User Management
Changing Ownership and Group of a File
The command you need to change the ownership of a file is chown:
chown newowner filename
The command you need to change the group of a file is chgrp:
chgrp newgroup filename
Note that the owner of the file can use these commands.
Prev
Page 18
Next