Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Lustre 2.1.3
-
None
-
sles11sp1 2.1.3 (NASA version) client with 2.1.2 (NAS version) server bits
-
3
-
5226
Description
looked at LU-974, but not exactly the same problem.
I did one test on lustre and the same test on /tmp (ext3). Started by clearing out all
setfacl's using "setfacl -R -b" on top level directory before each example is started.
=================
lustre filesystem
=================
[client1:workdir]$ pwd
/nobackup/workdir
[client1:workdir]$ setfacl -M setfacl.jdk .
[client1:workdir]$ ls -ld ../workdir/
drwxrwxr-x+ 5 user2 g26137 4096 Oct 5 13:10 ../workdir/
[client1:workdir]$ mkdir test1
[client1:workdir]$ touch test1/file1
[client1:workdir]$ getfacl test1/
- file: test1
- owner: user2
- group: g26137
user::rwx
user:user1:rwx #effective:---
user:user2:rwx #effective:---
user:user3:rwx #effective:---
user:user4:rwx #effective:---
group::rwx #effective:---
mask::---
other::---
default:user::rwx
default:user:user1:rwx
default:user:user2:rwx
default:user:user3:rwx
default:user:user4:rwx
default:group::rwx
default:mask::rwx
default:other::r-x
[client1:workdir]$ getfacl test1/file1
- file: test1/file1
- owner: user2
- group: g26137
user::rw-
user:user1:rwx #effective:---
user:user2:rwx #effective:---
user:user3:rwx #effective:---
user:user4:rwx #effective:---
group::rwx #effective:---
mask::---
other::---
setfacl file used:
[client1:workdir]$ cat setfacl.jdk
- file: workdir
- owner: user2
- group: g26137
user::rwx
user:user1:rwx
user:user2:rwx
user:user3:rwx
user:user4:rwx
group::rwx
mask::rwx
other::r-x
default:user::rwx
default:user:user1:rwx
default:user:user2:rwx
default:user:user3:rwx
default:user:user4:rwx
default:group::rwx
default:mask::rwx
default:other::r-x
=================
tmp/ext3 filesystem
=================
[client1:workdir]$ pwd
/tmp/workdir
[client1:workdir]$ setfacl -M setfacl.jdk .
[client1:workdir]$ ls -ld ../workdir/
drwxrwxr-x+ 5 user2 g26137 4096 Oct 5 13:10 ../workdir/
[client1:workdir]$ mkdir test2
[client1:workdir]$ touch test2/file2
[client1:workdir]$ getfacl test2
- file: test2
- owner: user2
- group: g26137
user::rwx
user:user1:rwx
user:user2:rwx
user:user3:rwx
user:user4:rwx
group::rwx
mask::rwx
other::r-x
default:user::rwx
default:user:user1:rwx
default:user:user2:rwx
default:user:user3:rwx
default:user:user4:rwx
default:group::rwx
default:mask::rwx
default:other::r-x
[client1:workdir]$ getfacl test2/file2
- file: test2/file2
- owner: user2
- group: g26137
user::rw-
user:user1:rwx #effective:rw-
user:user2:rwx #effective:rw-
user:user3:rwx #effective:rw-
user:user4:rwx #effective:rw-
group::rwx #effective:rw-
mask::rw-
other::r--
setfacl file used:
[client1:workdir]$ cat setfacl.jdk
- file: workdir
- owner: user2
- group: g26137
user::rwx
user:user1:rwx
user:user2:rwx
user:user3:rwx
user:user4:rwx
group::rwx
mask::rwx
other::r-x
default:user::rwx
default:user:user1:rwx
default:user:user2:rwx
default:user:user3:rwx
default:user:user4:rwx
default:group::rwx
default:mask::rwx
default:other::r-x
=================
Let me know if you need more information.
jdk
Attachments
Issue Links
- duplicates
-
LU-974 Lustre does not ignore umask when default ACL with mask is set
- Resolved