Permissions problem

  • I can't set permissions for disk. I get this error.

    Błąd #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; chown --recursive root:users '/srv/dev-disk-by-label-HDD1/' 2>&1': chown:
    changing ownership of '/srv/dev-disk-by-label-HDD1/'
    : Operation not permitted

    changing ownership of '/srv/dev-disk-by-label-HDD1/aquota.user'
    : Operation not permitted in /usr/share/openmediavault/engined/rpc/
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/ Engined\Rpc\ShareMgmt->Engined\Rpc\{closure}('/tmp/bgstatusIJ...', '/tmp/bgoutputWt...')
    #1 /usr/share/openmediavault/engined/rpc/ OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure), NULL, Object(Closure))
    #2 [internal function]: Engined\Rpc\ShareMgmt->setFileACL(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/ call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/ OMV\Rpc\ServiceAbstract->callMethod('setFileACL', Array, Array)
    #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ShareMgmt', 'setFileACL', Array, Array, 1)
    #6 {main}

  • The aquota.* files have the immutable bit set. Nobody, not even root, can change anything about those files until that bit is cleared.

    Google is your friend and Bob's your uncle!

    OMV AMD64 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!