Hello All,
I just installed OMV on a RPI 3B. It seems to work fine, except that the shares remain read only.
I think it has something to do with an error I get when adding a shared folder. The folder is created, but I get the following message:
Failed to set file group to 'users' for '/srv/dev-disk-by-uuid-66B8-2B7C/': Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
OMV\Exception: Failed to set file group to 'users' for '/srv/dev-disk-by-uuid-66B8-2B7C/': Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:361
Stack trace:
#0 [internal function]: Engined\Rpc\ShareMgmt->set(Array, Array)
#1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('set', Array, Array)
#3 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ShareMgmt', 'set', Array, Array, 1)
#4 {main}
I tried several times, with different devices (USB pendrive, SSD), all with same result. I can create a Samba share, and it can be read by any computer in my network (being W10 or linux). I can read the files, but it will not allow me to write to it. Also created an FTP share, same result.
I tried to set all the privileges I can find to read/write, but no success.
I run OMV 6.0.1-1 (shaitan) on Raspian Bullseye (Linux 5.10.63-V7+)
Maybe the Raspian version can be the reason? This version is rather new.
Any thoughts or similar experiences?
Regards
Peter.