[Samba] Windows and executable permissions on files

Steve P Jankly steve at apu.edu
Mon Jun 16 01:20:22 GMT 2003


Hi, when I create a file through a windows machine on a samba home share 
on my linux box, it defaults to -rwxr-----. I don't want any created files 
to have executable permission by default. How can I make it have 640 
permissions by default for any new file created? I tried putting 'create 
mask = 640' under [homes] in smb.conf, but that didn't work.

For example, lets say I have a share \\Steve\username which is my user 
directory on my Linux box. When I access this share through my Windows XP 
machine, it always sets 740 permissions for all newly created files. I 
want the default permission for new files to be 640. How would I do this? 
Thanks in advance.

Steve




More information about the samba mailing list