<<Back to Article

Chown

/skill level/
/viewed/
0 Times


Structure:chown [option] newowner files

chown changes who owns a particular file or set of files. New owner files refer to a user ID number or login name that is usually located in the /etc/password directory. The owner of a file or directory can be seen by using the command ls -l. Only the owner of a file or a privileged user can change the permissions on a file or directory. The following example changes the owner of silly_monkey.html to joanne:

chown joanne silly_monkey.html

Back to Unix Guide

  • This page was last modified 18:40, 7 May 2008.
Edit this article
Reddit Digg