小编Dal*_*ore的帖子

为什么 root 在尝试创建此文件夹时会收到“权限被拒绝”?

为什么 root 在尝试创建此文件夹时会收到“权限被拒绝”?

root@donhy:/var/www/clients/client2/web2# mkdir bin
mkdir: cannot create directory ‘bin’: Permission denied
root@donhy:/var/www/clients/client2/web2# id
uid=0(root) gid=0(root) groups=0(root)
root@donhy:/var/www/clients/client2/web2# whoami
root
root@donhy:/var/www/clients/client2/web2# getfacl .
# file: .
# owner: root
# group: root
user::rwx
group::r-x
other::r-x    
root@donhy:/var/www/clients/client2/web2# lsattr 
-------------e-- ./web
-------------e-- ./private
-------------e-- ./log
-------------e-- ./ssl
-------------e-- ./tmp
-------------e-- ./cgi-bin
-------------e-- ./webdav
root@donhy:/var/www/clients/client2/web2# lsattr ..
lsattr: Operation not supported While reading flags on ../satmike.com
----i--------e-- ../web1
----i--------e-- ../web6
lsattr: Operation not supported While reading flags on ../fishingrodcaddy.com
lsattr: Operation not …
Run Code Online (Sandbox Code Playgroud)

permissions root 14.04

2
推荐指数
1
解决办法
4818
查看次数

标签 统计

14.04 ×1

permissions ×1

root ×1