Cannot create shared folder under another shared folder

  • Hi,


    I have this issue where I cannot create a shared sub folder in OMV 5.


    I have a shared folder "Documents" set up and running. I have in the past created additional shared folder under "Documents/" in the web interface.

    Today I tried to add another shared folder "downloads" which should result in "Documents/downloads/" relative path.


    However, when creating it, I get the following error:


    Code
    Error #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; setfacl --modify group:users:--x /DocumentsPool/Documents 2>&1' with exit code '1': setfacl: /DocumentsPool/Documents: Operation not supported in /usr/share/php/openmediavault/system/process.inc:182
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(386): OMV\System\Process->execute()
    #1 [internal function]: Engined\Rpc\ShareMgmt->set(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('set', Array, Array)
    #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ShareMgmt', 'set', Array, Array, 1)
    #5 {main}

    After which the Documents/downloads/ appears in the shared folder list, but does not actually exists.


    Could somebody point me toward an answer?


    Thanks!

  • I'm not sure if this is a good idea. Each shared folder has its own user access permissions, ACL settings and whatnot. Nesting two such folders seems to be asking for trouble.


    Of course you can create regular subfolders inside a shared folder - and still use the GUI to assign special permissions to only that subfolder, if needed. Or just create your two shared folders separately.


    I just think you'll be better off doing it one of these two ways.

  • I see, never knew it was a bad idea. thanks!


    Well, I decided to avoid nesting shared folder altogether. However I did in the past and it worked, so for knowledge sake, if somebody got the answer, i'd be glad to hear it!

Participate now!

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