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?

  • 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 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

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

  • 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 5.x on ASRock Rack C2550D4I C0 Stepping - 16GB ECC - Silverstone DS380 + Silverstone DS380 DAS Box.

Participate now!

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