我无法对文件/目录设置 ACL。以下是从我的终端复制的数据。
-bash-4.1$ setfacl -m u:asagar:x TestACL
setfacl: TestACL: No space left on device
-bash-4.1$ df -ahi
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/vg_server01-lv_root
546K 46K 500K 9% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
tmpfs 35K 1 35K 1% /dev/shm
/dev/sda1 126K 38 125K 1% /boot
none 0 0 0 - /proc/sys/fs/binfmt_misc
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
-bash-4.1$ uname -r
2.6.32-71.el6.i686 (Scientific Linux on VirtualBox)
-bash-4.1$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_server01-lv_root
9813128 8531992 788812 92% /
tmpfs 141120 0 141120 0% /dev/shm
/dev/sda1 495844 28678 441566 7% /boot
-bash-4.1$ ls
TestACL
-bash-4.1$ pwd
/home/ssagar
-bash-4.1$ mount
/dev/mapper/vg_server01-lv_root on / type ext4 (rw,acl)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
有什么想法可以修复此问题吗?
答案1
两个想法:
- 你已经运行过
fsck
文件系统了吗? - 这是一个长远的设想,但是否存在一长串现有的 ACL 列表,无论是在
TestACL
目录中还是总体中/home
?