From glauco.hass at gmail.com Fri Jul 27 07:29:46 2007 From: glauco.hass at gmail.com (Glauco Hass) Date: Fri, 27 Jul 2007 02:29:46 -0300 Subject: [Acl-Devel] Copying files dont follow ACL rules Message-ID: <46A982CA.7050209@gmail.com> Hi, friends. I was searching on the net for about a week, with no luck, that's why I subscribed here. I'm having trouble setting ACL in a shared folder. If I do this: #setfacl -m d:u::rwx,d:g:share:rwx,d:o:r,d:m:rwx dir the result of #getfacl dir will be # 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: # 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. 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. Glauco