The Samba-Bugzilla – Bug 9730
cifs mounted file creation is always 0777
Last modified: 2013-03-21 16:52:21 UTC
mount -t cifs //server/share /mnt -osec=krb5,multiuser
No matter what is set in the share, any file created therein will always be created universal rwx.
create mode = 0755
create mode = 0644
create mask = 0755
create mask = 0644
in both [global] and [share] sections of smb.conf
This happens whether the share is mounted on the server as above, or on another linux client.
How do I get files to be created 755 or 644 as they are on the unmounted share?
Solved in 4.0.4. I forgot to hit make install after building. Thanks.