[Samba] Samba + ACLs: Can’t add group write permissions

steve steve at steve-ss.com
Tue Mar 26 12:38:48 MDT 2013


On 26/03/13 15:25, Quintus wrote:
>
> --------------------------------------------------------------
> (1048) [15:04:10 quintus at hades] /mnt
> % touch test2
> (1049) [15:04:41 quintus at hades] /mnt
> % ls -ahl
> total 4.0K
> drwxrws---+  2 quintus 1002    0 Mar 26 15:04 .
> drwxr-xr-x  20 root    root 4.0K Mar 19 17:32 ..
> -rw-rw----+  1 quintus 1002    0 Mar 26 14:54 test
> -rw-r-----+  1 quintus 1002    0 Mar 26 15:04 test2
> (1050) [15:04:45 quintus at hades] /mnt
> % getfacl test2
> # file: test2
> # owner: quintus
> # group: 1002
> user::rw-
> group::rwx			#effective:r--
> group:1002:rwx			#effective:r--
> mask::r--
> other::---
> --------------------------------------------------------------
>
> WTF? Where did the write access for the group go?
Hi Marvin

Just a thought but I found out the hard way that when there are acl's 
set, e.g. in your file called test2, the -rw-r----- bit of the listing 
bit bears little resemblance to what the actual permissions are. Have 
you actually checked to see that the file test2 really isn't group 
writeable? Maybe worth a quick test.

Cheers,
Steve



More information about the samba mailing list