[Samba] valid users and file permissions

Dennis B. Hopp dhopp at coreps.com
Tue Oct 21 13:26:55 GMT 2008


Yes, you just have to precede the group name with an '@', i.e.

write list = @parents

--Dennis

Quoting Mike Gallamore <mike at mpi-cbg.de>:

> I believe you'd need to add a line:
> write list = parents
>
> write list = mum dad
>
> I'm not sure if the top would work, anyone is samba group aware? The
> bottom should work but the problem would be if the members of the group
> were to change you'd have to change the smb.conf file too which isn't
> the cleanest solution.
>
>
> On Oct 20, 2008, at 11:37 PM, Kyle wrote:
>
>> Hi people,
>>
>> I'd like to understand valid users and file permissions better. I   
>> have a share which is not behaving as I expect.
>>
>> [family]
>> path = /home/shares/family
>> create mask = 0664
>> directory mask = 0775
>> force group = parental
>> guest ok = No
>> valid users = @parental, @family
>> writeable = Yes
>>
>> in Group parental are mum & dad; in group family are mum, dad and offspring.
>>
>> With file permissions of 0664 and force group parental, I would   
>> expect the offspring to be able to browse the share but not write   
>> to or delete from it. Unfortunately, they can both write and delete.
>>
>> How do I achieve this please?
>> -- 
>> ------------------------------------------------------------------------
>> Kind Regards
>>
>> Kyle
>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list