Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

chown

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".
Source by linux.die.net #
 
PREVIOUS NEXT
Tagged: #chown
ADD COMMENT
Topic
Name
1+5 =