Shared folder permission problem

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

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


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

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


    How to get access to it as myuser?

  • 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:



    Code
    root@omvnas:/srv/12345678/home# ls -la
    total 24
    drwx--S---   5 root root  4096 Apr 23  2018 .
    drwxr-xr-x  15 root root  4096 Jan  2 12:05 ..
    drwxrws---+  2 myuser users 4096 Oct  3  2017 myuser
    Code
    root@omvnas:/srv/12345678/home# login myuser
    $ ls -la "/srv/12345678/home/myuser/"
    ls: cannot access /srv/12345678/home/myuser/: No such file or directory

Jetzt mitmachen!

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