Shared Folder vs Not-shared Directories

  • Hello,


    Maybe this is straight forward:


    When you define a shared folder in the GUI, you specify the location of a shared folder.

    Lets say this folder is /srv/device-by-label-A/USERS/userA and userA logs on.

    User A can then also view any content above his shared directory (so he can see everything in /srv/device-by-label-A/USERS).

    The GUI does not seem to provide a way, or does it?

    I could chown all higher directories to e.g. root and chmod 0700 but is there a better way?

    Some content might be slightly modified to mask personal settings- just to keep the sharks away, you never know :)

  • What do you mean with "logs on". Using ssh, smb, nfs?

    Oops, sorry, should have clarified: sftp via a file explorer (Nemo in this case).

    Some content might be slightly modified to mask personal settings- just to keep the sharks away, you never know :)

  • Creating a shared folder does not set or modify filesystem permissions.


    What you want to use is the SFTP plugin to create a user jail. This will prevent the user from being able to wander all over the filesystem.

    --
    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.

  • Yes, this is meant to create a jail for specific users so I can assign each user a specific space and keep the rest of the system in the background (number/names of other users etc.)


    Yes shared folder creation does not set permissions but it somehow goes together when you do this.

    Some content might be slightly modified to mask personal settings- just to keep the sharks away, you never know :)

  • Yes shared folder creation does not set permissions but it somehow goes together when you do this.

    Even if you did not create the sharedfolder the behavior would be the same.

    --
    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!