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

Re: [OT] permissions on samba share



Camaleón wrote:
> On Mon, 06 Sep 2010 11:32:09 +0200, Johannes Wiedersich wrote:
> 
>> I have some problem with permissions of files saved from a windows XP to
>> a samba share. Some files from a proprietary software are saved with
>> permissions
> 
> (...)
> 
>> Is there any way that I am missing to force all files stored from that
>> 'guest OS' to have -rw-rw---- ?
> 
> 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

Yes, plus the 'force create mode'. The relevant part of my smb.conf is

/==========================
[winshare]
        comment = xxx
        path = /home/projekte
        valid users = xxx, yyyy
        read only = No
        create mask = 0664
        force create mode = 0660
        directory mask = 0770
        force directory mode = 0770
\==========================

Greetings,

Johannes


Reply to: