How to change owner and group of directory

How to change owner and group of directory

Postby stephen » Sun Nov 07, 2010 11:50 am

chown fred /var/www/subdomains


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".

stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Return to Cloud Central Debian Server

Who is online

Users browsing this forum: No registered users and 1 guest

cron