错误“Permission is not allowed”

出错背景:
将本地文件通过xftp复制到服务器时出现

解决方法:
文件夹的权限原因,在该文件夹所在的父文件夹下输入"chmod 777 xxx(文件夹名称)";
如果还出现“operation not permitted”,就换成root用户即可 “su”,输入密码;
再重新执行"chmod 777 xxx"

举例:
/usr/bin/test
要在/bin下放一个test文件;
[root@xxx usr] # chmod 777 bin

猜你喜欢

转载自blog.csdn.net/weixin_40626699/article/details/89359524