[Samba] Re: Wrong perms on new files/dirs using `mount -t cifs`

Michael Lueck mlueck at lueckdatasystems.com
Mon Feb 18 16:15:25 GMT 2008


Michael Lueck wrote:
> Could you elaborate on what exactly you are suggesting to do?

I did some digging since I asked that and discovered the following lines for smb.conf shares:

[data]
    comment = Shared Application Data Files
    path = /srv/shares/data
    guest ok = no
    read only = no
    create mask = 0666
    directory mask = 0777
    force create mode = 0666
    force directory mode = 0777

The last two lines are the new ones.

With these lines in place, I am not able to connect to shares from Windows or Linux clients, so I have commented them out again.

Why did that happen with the addition of those lines?

Thanks!

-- 
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/



More information about the samba mailing list