Next: 1.8.2 1.8.2 Changing permissions
Up: 1.8 File and Directory
Previous: 1.8 File and Directory
 
Contents
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
Warning: main(../layout/footer.php) [
function.main]: failed to open stream: No such file or directory in
/srv/www/linuxgeek.net/vhosts/www/htdocs/beginners/node46.phtml on line
58
Warning: main() [
function.include]: Failed opening '../layout/footer.php' for inclusion (include_path='.:/usr/share/php') in
/srv/www/linuxgeek.net/vhosts/www/htdocs/beginners/node46.phtml on line
58