Linux: Change Owner/Group of File

Posted . Visible to the public.

EXAMPLES

chown root /u
Change the owner of /u to "root".
chown root:staff /u
Likewise, but also change its group to "staff".
chown -hR root /u
Change the owner of /u and subfiles to "root".

Profile picture of Luis Romero
Luis Romero
Posted by Luis Romero to Custom Exposure (2015-07-21 16:36)