Is samba supposed to change file permissions ?
Mark.Greenhalgh at mdmnetwork.com
Wed Sep 23 12:17:56 GMT 1998
I have set up samba-1.9.18p10 on Sun Solaris. I have created several
shares and whenever a user edits a file it gets set to permission mode 0744,
regardless of what it was before. The file permission can than be changed
from windows using file properties.
To avoid this extra step I added a create mask = 0655 to the share
definition. Now the files get created with the correct permission, but they
can no longer change the permission.
Is this the default action ? Can samba remember the file permissions ?
greenhalghm at tusc.com
mark.greenhalgh at mdmnetwork.com
sample file share definition:
comment = People Soft software
path = /opt/psoft
create mask = 0655
valid users = mag ubaron winiarz
public = no
writable = yes
printable = no
force user = psoft
More information about the samba