[Samba] permissions modified on shared excel files

Tony Earnshaw tonye at billy.demon.nl
Tue Mar 1 08:29:52 GMT 2005


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 at billy.demon.nl
http://www.billy.demon.nl



More information about the samba mailing list