General
cancel
Showing results for 
Search instead for 
Did you mean: 

setting default class acl on directory

Nasimuddin Ansari_1
Occasional Advisor

setting default class acl on directory

We set acl default:class:rwx on a directory on /parent/directory. When files are being created in this directory, class is being to rx- only. Similar issue with default:others

Please help to resolve.

> getacl /parent/directory
# file: /parent/directory
# owner: user1
# group: grp1
user::rwx
user:user1:rwx
group::r-x
class:rwx
other:r-x
default:user:user1:rwx
default:other:r-x
default:class:rwx

> ll /parent/directory/test.txt
-rw-rw----+ 1 user1 grp1 16 Nov 4 09:53 /parent/directory/test.txt

> getacl /parent/directory/test.txt
# file: test.txt
# owner: user1
# group: grp1
user::rw-
user:user1:rwx #effective:rw-
group::rw-
group:user2:rwx #effective:rw-
class:rw-
other:---