ACL Problem.

  • Hello. Filesystem ext4, in fstab i have acl, but when I try to use it i have a error:

    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; setfacl --remove-all -M '/tmp/setfaclJSMLA9' -- '/srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/www/nextcloud' 2>&1' with exit code '1': setfacl: /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/www/nextcloud: Operation not supported



    Code
    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; setfacl --remove-all -M '/tmp/setfaclJSMLA9' -- '/srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/www/nextcloud' 2>&1' with exit code '1': setfacl: /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/www/nextcloud: Operation not supported' in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:991 Stack trace: #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMVRpcServiceShareMgmt->{closure}('/tmp/bgstatussS...', '/tmp/bgoutputQ3...') #1 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(998): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure), NULL, Object(Closure)) #2 [internal function]: OMVRpcServiceShareMgmt->setFileACL(Array, Array) #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): 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(536): OMV\Rpc\Rpc::call('ShareMgmt', 'setFileACL', Array, Array, 1) #6 {main}

    mount:



    fstab




    How to make ACL work?

    • Offizieller Beitrag

    Can you run manually this command to test if it works


    mkdir /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/test


    setfacl -m g:120:rwx /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/test
    getfacl /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/test



    I am under the impression that some arm kernels don't ship with acl compile flag in the fs modules

  • setfacl -m g:120:rwx /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/test

    setfacl: /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/test: Operation not supported

    getfacl /srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/test

    getfacl: Removing leading '/' from absolute path names
    # file: srv/dev-disk-by-id-ata-WDC_WD20EFRX-68EUZN0_WD-WCC4M6PVP68N-part2/test
    # owner: root
    # group: users
    # flags: -s-
    user::rwx
    group::r-x
    other::r-x

Jetzt mitmachen!

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