Hello everyone!
I recently reinstalled OMV 4 over OMV 3 and have everything set up and running fine.
But I still can't figure out how to change default share "create mask = 0664" and "force create mode = 0664".
There is an information in OMV docs: "Is possible to add extra options in the general and share configuration at the bottom with a multi line text field. This options are hardcoded in the mkconf script but they can be changed using environmental variables." But I don't know the right command to do it, can someone share his/her knowledge about environmental variables?
I need to change this because if I create a file (as an owner) through samba I'm not getting execute permission for that file. Currently using "acl allow execute always = yes" but this workaround does not satisfy me ;/
Edit:
One more thing.
Let's say I have shared folder "Data" and if I add these two lines:
create mask = 0755
force create mode = 0755
in Extra options in Edit Share "Data", then my smb.conf looks weird...
[Dane]
path = /srv/dev-disk-by-label-data/Dane
guest ok = yes
read only = no
browseable = yes
inherit acls = yes
inherit permissions = no
ea support = no
store dos attributes = no
vfs objects =
printable = no
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
hide special files = yes
follow symlinks = yes
hide dot files = yes
read list =
write list =
create mask = 0755
force create mode = 0755
Alles anzeigen
Shouldn't number 21 and 22 replace current number 12 and 13 instead of duplicating them?