Results 1 to 2 of 2
Hi, friends.
I'm having trouble setting ACL in a shared folder.
If I do this:
Code:
#setfacl -m d:u::rwx,d:g:share:rwx,d:o:r,d:m:rwx dir
the result of
Code:
#getfacl dir
will be
Code:
# ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-07-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 1
Error in default mask ACL
Hi, friends.
I'm having trouble setting ACL in a shared folder.
If I do this:
the result ofCode:#setfacl -m d:u::rwx,d:g:share:rwx,d:o:r,d:m:rwx dir
will beCode:#getfacl dir
what is exactly what I want.Code:# file: dir # owner: me # group: me user::rwx group::rwx other::r-x default:user::rwx default:group::rwx default:group:share:rwx default:mask::rwx default:other::r--
But if I copy any file into dir, the result of getfacl will not have the
expected result, as below:
My /etc/profile has umask 002, because group must have full access.Code:# file: dir/copied_file # owner: me # group: me user::rwx group::rwx #effective:--- group:share:rwx #effective:--- mask::--- other::---
But "mask::---" is wrong, setting the user and share groups with
absolutely no access to the file. Created files receive correct permissions. What is wrong here?
As "dir" will receive photos from a digital camera and all users must
see them, I am in trouble.
Thanks in advance and sorry my english.
- 08-30-2007 #2Just Joined!
- Join Date
- Aug 2007
- Posts
- 2
I get almost the same error. If anyone has any info it would be greatly appreciated
Roberto


Reply With Quote
