比如当前文件夹权限为root,我希望改为acptuser权限:
#将/home/acptuser/services-war权限改为acptuser:
chown -R acptuser:acptuser /home/acptuser/services-war
chmod 755 -R /home/acptuser/services-war
分别执行这两条命令,再次打开文件夹发现权限更改成功
比如当前文件夹权限为root,我希望改为acptuser权限:
#将/home/acptuser/services-war权限改为acptuser:
chown -R acptuser:acptuser /home/acptuser/services-war
chmod 755 -R /home/acptuser/services-war
分别执行这两条命令,再次打开文件夹发现权限更改成功