-
Technical task
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
It sees files deleted by non-root user cannot be seen or restore by themselves. But can only be seen and restore by root
as non-root user test1
[test1@trevis-90vm1 test1]$ lctl get_param version version=2.16.0_ddn44_15_g431bf69 [test1@trevis-90vm1 /]$ cd /mnt/lustre [test1@trevis-90vm1 lustre]$ ls aa *test1* [test1@trevis-90vm1 lustre]$ cd test1/ [test1@trevis-90vm1 test1]$ ls -al total 8 drwxr-xr-x 2 test1 test1 4096 Mar 13 21:32 *.* drwxr-xr-x 4 root root 4096 Mar 13 21:08 *..* [test1@trevis-90vm1 test1]$ touch foo [test1@trevis-90vm1 test1]$ ls -al total 8 drwxr-xr-x 2 test1 test1 4096 Mar 16 17:36 *.* drwxr-xr-x 4 root root 4096 Mar 13 21:08 *..* -rw-r--r-- 1 test1 test1 0 Mar 16 17:36 foo [test1@trevis-90vm1 test1]$ rm foo [test1@trevis-90vm1 test1]$ ls .Trash ls: cannot open directory '.Trash': Permission denied {{[test1@trevis-90vm1 test1]$}} [test1@trevis-90vm1 test1]$ lfs trash unrm /mnt/lustre/test1/.Trash/foo lfs trash trash: cannot open '/mnt/lustre/test1/.Trash/foo' for unrm check: Permission denied (13) unrm: failed to recover '/mnt/lustre/test1/.Trash/foo' from Trash: Permission denied [test1@trevis-90vm1 test1]$ ---- {{# as root}} [root@trevis-90vm1 test1]# ls -al .Trash total 12 d--------- 2 root root 4096 Mar 13 21:32 *.* drwxr-xr-x 2 test1 test1 4096 Mar 16 17:36 *..* -rw-r--r-- 1 test1 test1 0 Mar 16 17:36 foo -rw-r--r-- 1 test1 test1 8 Mar 13 21:32 f-test1 [root@trevis-90vm1 test1]# lfs trash unrm /mnt/lustre/test1/.Trash/foo [root@trevis-90vm1 test1]# ls -al total 8 drwxr-xr-x 2 test1 test1 4096 Mar 16 17:39 *.* drwxr-xr-x 4 root root 4096 Mar 13 21:08 *..* -rw-r--r-- 1 test1 test1 0 Mar 16 17:36 foo
- is related to
-
EX-13731 Loading...