[Samba] Permission Denied

Rowland Penny rowlandpenny241155 at gmail.com
Wed Nov 25 10:29:58 UTC 2015


On 24/11/15 23:00, Henry McLaughlin wrote:
> I have created a [home] share:
>
> user at jupiter:~$ sudo ls -l /srv/samba/
> total 24
> drwxrwxr-x  2 root domain admins 4096 Nov 22 21:38 Demo
> drwxrwxr-x  2 root domain admins 4096 Nov 15 11:51 Finance
> drwxrwxr-x+ 2 root domain admins 4096 Nov 25 08:08 home
> drwxrwxr-x+ 9 root domain admins 4096 Nov 24 21:06 Printer_drivers
>
> When i try to set the ACLs in Windows I get "Permission Denied"
>
> In Windows I am logged in as "administrator" who is a member of "Domain
> Admins"
>
> user at jupiter:~$ getfacl /srv/samba/home
> getfacl: Removing leading '/' from absolute path names
>
> # file: srv/samba/home
> # owner: root
> # group: domain\040admins
> user::rwx
> user:root:rwx
> group::r-x
> group:domain\040admins:r-x
> mask::rwx
> other::r-x
> default:user::rwx
> default:group::r-x
> default:group:domain\040admins:rwx
> default:mask::rwx
> default:other::r-x
>
>
>

OK, the unix permissions are:

drwxrwxr-x+ 2 root domain admins 4096 Nov 25 08:08 home

But getfacl shows two group permissions:

# group: domain\040admins
group::r-x
group:domain\040admins:r-x

Both of which shows that the group has *no* write permissions, fix this 
and it should work as expected.

Rowland




More information about the samba mailing list