首页 > 代码库 > linux命令之 chown

linux命令之 chown

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

linux命令之 chown