Tyler R. Retzlaff
2005-Mar-01 00:15 UTC
[Samba] permissions modified on shared excel files
Having difficulty with samba & permissions being changed when windows clients save files. Initially files may be shared 0774 (e.g. some excel file) after it is opened and saved by a windows client the permissions are 0744. Thus the next access by a group user cannot write the file. No mask options are specified in the smb.conf so all defaults are being used. Is there a reason why the permissions are being changed when a file is saved? Thanks -- Tyler R. Retzlaff <rtr@myinternet.com.au> Operational Support Engineer myinternet Limited http://www.myinternet.com.au/
Tyler R. Retzlaff:> Having difficulty with samba & permissions being changed when windows > clients save files. > > Initially files may be shared 0774 (e.g. some excel file) after it is > opened and saved by a windows client the permissions are 0744. Thus the > next access by a group user cannot write the file. > > No mask options are specified in the smb.conf so all defaults are being > used. Is there a reason why the permissions are being changed when a file > is saved?Have a look at the various mask settings (SWAT's a good help for looking at what's possible, but i don't use it for real). 3.0.11 here, but it should be the same across the board. I have: create mask = 0770 security mask = 0770 directory mask = 0770 directory security mask = 0770 inherit permissions = Yes In [global] It's probably overkill, but can be modified in each share and avoids what you describe. --Tonni -- mail: tonye@billy.demon.nl http://www.billy.demon.nl