Borja Marcos
Contributor
- Joined
- Nov 24, 2014
- Messages
- 125
Hello,
I guess this is a FAQ, but everything I try doesn't seem to work.
I am trying to set up a couple or CIFS shares for Windows users. The thing should be pretty trivial. The shares are used by a group, and every file written to it should have group write permissions. Unfortunately it doesn't work.
I have tried to leave the "mask" parameters (file and directory) blank in the CIFS settings. However, FreeNAS insists on setting up values for them (I think this is a bug).
and adding these parameters to the share as auxiliary parameters.
It should work, but the files I create still have a 750 mask.
Any ideas? Sorry for asking such a stupid question, but either I've lost my ability to read or Samba applies permissions in a somewhat random fashion. (or some of the parameters are just ignored).
Thanks!
I guess this is a FAQ, but everything I try doesn't seem to work.
I am trying to set up a couple or CIFS shares for Windows users. The thing should be pretty trivial. The shares are used by a group, and every file written to it should have group write permissions. Unfortunately it doesn't work.
I have tried to leave the "mask" parameters (file and directory) blank in the CIFS settings. However, FreeNAS insists on setting up values for them (I think this is a bug).
Code:
[global] … create mask = 0666 directory mask = 0777 …
and adding these parameters to the share as auxiliary parameters.
Code:
force create mode = 770 force directory mode = 770
It should work, but the files I create still have a 750 mask.
Any ideas? Sorry for asking such a stupid question, but either I've lost my ability to read or Samba applies permissions in a somewhat random fashion. (or some of the parameters are just ignored).
Thanks!