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/aquota.group'
    : Operation not permitted

    chown:
    changing ownership of '/srv/dev-disk-by-label-HDD1/aquota.user'
    : Operation not permitted in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:997
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): Engined\Rpc\ShareMgmt->Engined\Rpc\{closure}('/tmp/bgstatusIJ...', '/tmp/bgoutputWt...')
    #1 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(1062): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure), NULL, Object(Closure))
    #2 [internal function]: Engined\Rpc\ShareMgmt->setFileACL(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): 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 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!