[Samba] Create masks set to 770 yet new files created as 750

Helmut Hullen Hullen at t-online.de
Wed Jun 25 06:57:00 GMT 2008


Hallo, Jeff,

Du (jeff80) meintest am 25.06.08:

> My goal is to make each and every file rwxrwx--- .

> create mask = 2770
> security mask = 2770
> directory mask = 2770
> directory security mask = 2770

[...]

> force create mode = 2770
> force directory mode = 2770

"mask" and "mode" are identical.

"create mask" and "directory mask" make an "AND", in your case they  
delete the "other" bits.

"force xyz mask" makes an "OR", it sets every defined bit.

Viele Gruesse!
Helmut


More information about the samba mailing list