linux根目录 写入权限,为什么Linux中根目录权限为 555 还可以往/中创建文件

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

[root@Home-PC /]# ll -d /

dr-xr-xr-x. 24 root root 4096 Aug 9 09:25 /

[root@Home-PC /]# ll

total 98

dr-xr-xr-x. 2 root root 4096 Aug 9 07:39 bin

dr-xr-xr-x. 5 root root 1024 Aug 8 09:14 boot

drwxr-xr-x. 2 root root 4096 Aug 2 22:50 cgroup

drwxr-xr-x. 20 root root 4060 Aug 9 07:07 dev

drwxr-xr-x. 134 root root 12288 Aug 9 07:39 etc

drwxr-xr-x. 4 root root 4096 Aug 7 17:35 home

dr-xr-xr-x. 17 root root 12288 Aug 9 07:38 lib

drwx------. 2 root root 16384 Aug 7 17:03 lost+found

drwxr-xr-x. 2 root root 4096 Aug 9 06:45 media

drwxr-xr-x. 2 root root 4096 Oct 1 2009 mnt

drwxr-xr-x. 2 root root 4096 Oct 1 2009 opt

dr-xr-xr-x. 200 root root 0 Aug 9 2010 proc

dr-xr-x---. 9 root root 4096 Aug 9 08:54 root

dr-xr-xr-x. 2 root root 12288 Aug 9 07:39 sbin

drwxr-xr-x. 7 root root 0 Aug 9 2010 selinux

drwxr-xr-x. 2 root root 4096 Oct 1 2009 srv

drwxr-xr-x. 13 root root 0 Aug 9 2010 sys

drwxrwxrwt. 17 root root 4096 Aug 9 08:52 tmp

drwxr-xr-x. 13 root root 4096 Oct 30 2008 usr

drwxr-xr-x. 24 root root 4096 Aug 8 08:25 var

我查看我的根目录权限是555,可是我为什么还是能够使用root在根目录下创建目录呢?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值