[Samba] Unable to set Windows permissions on share

Bruno Martins bmartins at galileu.pt
Mon Sep 26 18:16:55 MDT 2011


-----Original Message-----
From: TAKAHASHI Motonobu [mailto:monyo at monyo.com] 
Sent: domingo, 25 de Setembro de 2011 16:03
To: Bruno Martins
Cc: samba at lists.samba.org; António Moreira
Subject: Re: [Samba] Unable to set Windows permissions on share

From: Bruno Martins <bmartins at galileu.pt>
Date: Sun, 25 Sep 2011 13:23:07 +0000

> Good evening guys,
> 
> I'm being unable to set a certain Samba share's permissions through 
> Windows properties dialogue box, using the Security tab.

You really mean **share**'s permission or files's permission in the share?


> I'm trying to perform this action as a member of "Domain Users"
> Active Directory group.

If former, simply to grant full control to "Domain Users" by Administartor from Windows or using sharesec command.

If latter, "dos filemode = yes" may help you.

Other comments...

> [dropbox]
>         inherit owner = Yes
>         inherit permissions = Yes
>         map acl inherit = Yes
>         writable = Yes
>         path = /home/joe/Dropbox
>         acl group control = Yes
>         comment = Partilha das Galileus
>         inherit acls = Yes
>         write list = "@domain users"
>         browseable = Yes

"inherit permissions" takes precedence over "inherit acls" so in your conf, "inherit acls" is ignored.

I think that "map acl inherit" is too buggy to use in production.
See https://bugzilla.samba.org/show_bug.cgi?id=6841

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>

Hello mate,

I really mean share's permissions, as Unix permissions are set to 777 just for testing. I may have to check this out later too. ;-)

I've corrected the inheritance thing you told me, although it didn't help that much.


More information about the samba mailing list