Changing ownership
Changing ownership
Next: Changing permissions Up: File and Directory Ownership Previous: File and Directory Ownership
Changing ownership
The ownership of files can be changed by root. This is done using the chown command.
root@localhost $ ls -l thisfile
-rw-rw-r- 1 joe joe 29 Mar 26 19:23 thisfile
root@localhost $ chown sam.sam thisfile
-rw-rw-r- 1 sam sam 29 Mar 26 19:23 thisfile
2005-05-10