Find the answer to your Linux question:
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.
  1. #1
    Just 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:

    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:
    # 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--
    what is exactly what I want.
    But if I copy any file into dir, the result of getfacl will not have the
    expected result, as below:

    Code:
    # file: dir/copied_file
    # owner: me
    # group: me
    user::rwx
    group::rwx                      #effective:---
    group:share:rwx      #effective:---
    mask::---
    other::---
    My /etc/profile has umask 002, because group must have full access.
    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.

  2. #2
    Just Joined!
    Join Date
    Aug 2007
    Posts
    2
    I get almost the same error. If anyone has any info it would be greatly appreciated

    Roberto

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •