[Samba] create mask command in smb.conf

C.Scheeder christoph.scheeder at scheeder.de
Fri Sep 17 14:29:43 GMT 2004

jep, this is all normal.
Create mask is a mask for *file* creation, it masks out the bits
not specified. So setting it to 770 forces your *files* to get
never more rights then rwxrwx--- .
What you want is the line

force create mode 770

to force the mode of your *files* to 0770 at least.
have a look at smb.conf manpage for the available options for

Jean LEE schrieb:
> Hello,
> In smb.conf, where I share a folder, i put the command :
> create mask = 770 which normally should give rwx permissions to 
> the owner and the group of the file or subfolder creator.However, 
> when I create a folder in this shared folder from a WinXP station, 
> the permissions are rwxr-xr-x and when I create a file, the permissions
> are rwxrw----.
> Does anyone understand ?
> Thanks for any help,
> Jean

More information about the samba mailing list