slavaim / redirfs

A Linux file system filter based on redirfs
33 stars 25 forks source link

Empty directory of read-only attribute can be deleted #10

Open wangchuanfang opened 6 years ago

wangchuanfang commented 6 years ago

[root@localhost 11]# ls -la total 4 drwxr-xr-x 2 root root 6 Aug 20 06:06 . drwxr-xr-x 3 root root 4096 Aug 20 06:06 .. [root@localhost 11]# pwd /root/test/test_1/11 [root@localhost 11]# cat /sys/fs/redirfs/filters/roflt/paths i:0:/root/test/test_1/11[root@localhost 11]# cd ../ [root@localhost test_1]# rm -fr 11 [root@localhost test_1]#