![]() |
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