FEATURE REQUEST: Expose create and force masks via UI

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • FEATURE REQUEST: Expose create and force masks via UI

      Currently per share masks are configured globally, as per the 20shares file:

      -o "create mask = ${OMV_SAMBA_SHARE_CREATEMASK}" -n \
      -o "force create mode = ${OMV_SAMBA_SHARE_FORCECREATEMODE}" -n \
      -o "directory mask = ${OMV_SAMBA_SHARE_DIRECTORYMASK}" -n \
      -o "force directory mode = ${OMV_SAMBA_SHARE_FORCEDIRECTORYMODE}" -n \

      Currently adding the same directives in "extra options" will override these, but only because they might possibly come after the above.

      It might prove useful to specifically expose these four masks in the web UI, and use the global defaults only if they're not provided?
    • No, that will never be happen. You can already customize this values via environment variables. Please note, OMV is no webmin replacement where you can customize every possible service option. Or did you have seen such options in Qnap, Sysnology or Thecus systems?
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • votdev wrote:

      You can already customize this values via environment variables
      Correct, but that would change them for /all/ shares I believe?

      I'm not quite sure what webmin is or what Qnap or Thecus etc offer in this regard, but given that Samba give "create mask" a share scope (vs global) I'm guessing they figured setting it on a per share basis would hold value.

      Re Synology, I was actually trying to emulate its "admins can access all user's homes" functionality which it does offer out of the box, so in that context, yes, different shares have different (albeit contextual and fixed) create masks.

      Personally I'd just find it a useful option to have instead of generating multiple and redundant "create mask" lines per share.