转载自:https://cloud.tencent.com/developer/article/2100610
============
1、切换到root用户
su - root
2、更改文件夹的用户为user1
chown -R user1:user1 /local
3、修改user1对文件夹的权限
chmod 777 /local
标签:user1,用户,文件夹,Linux,权限,local From: https://www.cnblogs.com/hd92/p/17198162.html