On Sun, Feb 5, 2012 at 1:15 PM, Chris Smith <[email protected]> wrote:
> On Sat, Feb 4, 2012 at 6:22 AM, Bruno Martins <[email protected]> wrote:
>> [formacao]
>>        comment = Partilha Formacao
>>        path = /home/joe/Formacao
>>        guest ok = yes
>>        browseable = yes
>>        read only = no
>>        write list = bmartins, amoreira
>>
>> Share to expose is 'formacao' but I want it to be only writable by two AD 
>> users and read-only for everyone else.
>
> Then you would want "read only = yes", yes?

Then the admin users wouldn't be able to write to it, would they?

Another common way to do this is to set the ownership of the share on
the UNIX or Linux server side to be group-writable for agroup that
contains those two administrative users, setting directories with
permissions 2775 to enforce consistent directory ownersip. You can get
fancier with the smb.conf as above, but it's often unnecessary.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to