sFTP shares

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • sFTP shares

      Hi , there is something I don't understand with the sFTP plugin:

      I defined a shared folder "XXXX" for a given user
      when this user connects to my OMV through sFTP, he can see:
      directory "dev"
      directory "XXXX" : the one I expected him to see
      directory "YYYY"

      where "dev" and "YYYY" access come from?

      even if it could be really interesting to have multi shared folder access through sFTP for a given user, but here, I did not chose it and dont know how to set the plugin
      any ideas?
      thanks
    • Just to make sure, are you referring to the sftp plugin from omv-extras or the ftp plugin included with OMV?
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Ok. did you add your user to the sftp-access group? On the Access List tab, you can add the same user more than once to give them access to more than one shared folder. If you don't add the user to the sftp-access group, they can see anything on the system they have access to.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • OK, thanks, yes the user is in sftp_access group...
      I've tried to understand how the plugin works...if I am not wrong, it mounts the shared folder in the /sftp/user/ folder
      my multiple access feature seems to be related to the fact that, after changing the shared folder from XXXX to YYYY, YYYY is mounted in /sft/user/YYYY
      but XXXX is not unmounted, and so , still reachable through sftp....

      not sure it is a normal behaviour....

      by the way, your tip to add the same user several times could be usefull! thanks
    • moreje wrote:

      my multiple access feature seems to be related to the fact that, after changing the shared folder from XXXX to YYYY, YYYY is mounted in /sft/user/YYYY
      but XXXX is not unmounted, and so , still reachable through sftp....
      Changing shared folder names is always a tricky thing to deal with when other mount points are involved. Generally rebooting is the best thing to do to fix things.
      omv 4.1.22 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      Changing shared folder names is always a tricky thing to deal with when other mount points are involved. Generally rebooting is the best thing to do to fix things.


      Yes I suppose reboot should unmount ghost shares..
      But now that I know that I can define several shares for the same user, I'm happy with this plug-in ;)

      Envoyé de mon Redmi 4X en utilisant Tapatalk