Shared folder permission problem

    • OMV 3.x
    • Shared folder permission problem

      I accidentally changed owner of my shared directories.
      Now I can not regain access to a folder using myuser.

      Source Code

      1. sudo -u myuser ls -la "/srv/12345678/home/myuser/"
      2. ls: cannot access /srv/12345678/home/myuser/: No such file or directory

      I have access to the directory as root, but not as myuser.

      Source Code

      1. root@omvnas:/srv/12345678/home# ls -la
      2. total 24
      3. drwx--S--- 5 root root 4096 Apr 23 2018 .
      4. drwxr-xr-x 15 root root 4096 Jan 2 12:05 ..
      5. drwxrws---+ 2 root Users 4096 Oct 3 2017 myuser

      How to get access to it as myuser?
    • Go to the Shared folders page in the WebUI and use the ACL dialog to setup the settings to your needs.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Unfortunately I get the same result if I use the WebUI ACL dialog.

      I checked myuser to have RW permission.
      Also did set "myuser" as owner with RWX, and "users" as group with RWX, and "none" as others permission.

      Applied Recursively.


      Now it looks like:


      Source Code

      1. root@omvnas:/srv/12345678/home# ls -la
      2. total 24
      3. drwx--S--- 5 root root 4096 Apr 23 2018 .
      4. drwxr-xr-x 15 root root 4096 Jan 2 12:05 ..
      5. drwxrws---+ 2 myuser users 4096 Oct 3 2017 myuser

      Source Code

      1. root@omvnas:/srv/12345678/home# login myuser
      2. $ ls -la "/srv/12345678/home/myuser/"
      3. ls: cannot access /srv/12345678/home/myuser/: No such file or directory