[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] permissions on samba share



On Mon, 06 Sep 2010 11:32:09 +0200, Johannes Wiedersich wrote:
> Is there any way that I am missing to force all files stored from that
> 'guest OS' to have -rw-rw---- ?

Camaleón wrote:
>> Have you tried by setting "create mask¹" value for the share?
>> ¹ http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#CREATEMASK

Johannes Wiedersich <debian@aktendiener.de> wrote:
> Yes, plus the 'force create mode'. The relevant part of my smb.conf is

>        create mask = 0664
>        force create mode = 0660
>        directory mask = 0770
>        force directory mode = 0770

Also try the "security mode" options, which work in a similar way to
the create/directory mask options:

        - force directory security mode
        - force security mode
        - security mask

Chris


Reply to: