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

原文地址:https://www.cnblogs.com/yaling/p/5809198.html