chgrp 用户名 文件名 -R
chown 用户名 文件名 -R
-R表示递归目录下所有文件
linux修改文件所有者和文件所在组
原文:https://www.cnblogs.com/aididiao/p/12167253.html