So I'm new-er to OMV, but I've been functioning for quite a bit now and getting things ironed out piece by piece as I go along. I've finally decided to start functionally using SMB/CIFS sharing on my local network for my systems to store data. I already had all my shares setup and ready, sorted out, and configured. My first goal was to get Docker up and running on a separate host, but mounting the storage on my OMV box through NFS/SMB. NFS didn't pan out, so SMB won and I was able to get that functioning. Interestingly, I never used the Privileges function in OMV but am fully functional (to my knowledge and understanding) with my Docker host using OMV for everything storage related. Mounts show properly, permissions look to be good, and everything is working as expected.
Now for the problem - I recently tried to mount the storage on my local machine (OS X) and mounted successfully, but it seems I'm in read only mode. I can't actually write to the disk and it doesn't seem like I have the option to (or maybe my ignorance is showing here). I've mounted before without an issue, as long as the permissions were there and set correctly, I could write to the share. So doing some reading on here, I found the guide on setting up share permissions and that the Privileges need to be configured in addition to the file level permissions. So I read, comprehended, read some more, and decided to test it out. Hoping not to break my Docker setup. When I attempt to modify ANY of the privileges for any of my shares, I'm met with an error upon applying the change (shown below in code box, and attached as screenshot). When I do this, I also then see the services section show the red dots indicating an issue with the service for NFS/SMB which are enabled. And I can validate that if I don't reset them, there are in fact issues as the server can no longer mount the shares.
So my question is, how can I resolve this as it sounds like enabling these Privileges is a core function of setting up sharing correctly in OMV, but I can't seem to apply them. I also tried unmounting everything and/or turning off the services first in case there was a dependency condition with currently active connections. No dice. It seems there is a bigger issue relevant to the exports being created on the system?
Error #0:
exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mkdir --parents --mode=0700 '/export/downloads' 2>&1' with exit code '1': mkdir: cannot create directory '/export/downloads': File exists' in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/php/openmediavault/system/mountpoint.inc(186): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/module/fstab.inc(58): OMV\System\MountPoint->mkDir()
#2 /usr/share/openmediavault/engined/rpc/config.inc(189): OMVModuleFsTab->startService()
#3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusMb...', '/tmp/bgoutputTf...')
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#8 /usr/share/openmediavault/engined/rpc/config.inc(208): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#9 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#11 /usr/share/php/openmediavault/rpc/rpc.inc(84): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#12 /usr/sbin/omv-engined(516): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#13 {main}
Alles anzeigen