Centos7 文件目录权限更改chmod、更改所有者和所属组chown

Centos7 文件目录权限更改chmod、更改所有者和所属组chown

# 更改目录用户所属组
chown -R sirxy:sirxy /home/sirxy/test1

# 更改目录权限(递归)
chmod -R 755 /home/sirxy/test2

以上。