Hello,
I am trying to change the default samba options "create mask = 0664" and "force create mode = 0664" to 0644, and "directory mask = 0775" and "force directory mode = 0775" to 0755. A previous post (https://forum.openmediavault.o…?postID=180302#post180302) tells me that I can achieve this by adding OMV_SAMBA_SHARE_FORCECREATEMODE="0644" and OMV_SAMBA_SHARE_CREATEMASK="0644" to /etc/default/openmediavault, but this does not seem to work for OMV 5 anymore. Is there another way to do this in OMV 5, or do I simply have to add these options every time I create a share?
Change default samba create and directory masks
-
- OMV 5.x
- gelöst
- irrelevant91
-
-
Did you run omv-salt stage run prepare after that, like explained here: OMV5 Environment Variables
Btw: You can enter this commands in the SMB/CIFS extra options field also.
-
Did you run omv-salt stage run prepare after that, like explained here: OMV5 Environment Variables
Btw: You can enter this commands in the SMB/CIFS extra options field also.
I didn't know about this extra step in OMV 5, thank you! The problem is solved.
-
I didn't know about this extra step in OMV 5, thank you!
There was a similar omv-mkconf command in earlier OMV versions too.
-
There was a similar omv-mkconf command in earlier OMV versions too.
I ran omv-salt deploy run samba, but didn't know I had to run omv-salt stage run prepare first.
-
I ran omv-salt deploy run samba, but didn't know I had to run omv-salt stage run prepare first.
Thank you for sharing your solution.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!