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

Re: Samba writes wrong file permissions



>> I have the following in my smb.conf:
>>
>> [public]
>>         path = /home/apache/files
>>         force user = www-data
>>         force group = www-data
>>         read only = No
>>         create mask = 0640
>>         force directory mode = 755
>>         guest ok = Yes
>>
>> ls /home/apache/files/Dictation/XXXX/ -l
>> total 736
>> -rw-r----- 1 www-data www-data 318976 Jun  4 11:56 DS400039.DSS
>> -rw-r----- 1 www-data www-data 427520 Jun  4 13:32 DS400040.DSS
>> -rwxrwxrwx 1 www-data www-data    501 Jun  4 13:32 VoiceFolder.xml
>>
> Take a look at "testparm -sv | grep map".
>

Thanks. I'm  not familiar with "map hidden".  What does it mean?  Here it is:

schmidli@debian:~$ testparm -sv | grep map
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
Processing section "[windows]"
Unknown parameter encountered: "read-only"
Ignoring unknown parameter "read-only"
Loaded services file OK.
Server role: ROLE_STANDALONE
        map to guest = Never
        username map =
        use mmap = Yes
        os2 driver map =
        username map script =
        ldap idmap suffix =
        homedir map = auto.home
        afs username map =
        idmap backend =
        idmap uid =
        idmap gid =
        acl map full control = Yes
        map acl inherit = No
        map archive = Yes
        map hidden = No
        map system = No
        map readonly = yes
        mangled map =
        dmapi support = No


Reply to: