SSHFS results in unusable permissions

Discussion in 'General' started by schwim, Sep 21, 2023.

  1. schwim

    schwim Member HowtoForge Supporter

    Hi there everyone,
    I use SSHFS in my linux install to work with the websites on a remote machine. I've done this for years without issue but with my latest ISPConfig install, when I upload files and folders to my web directory, it results in unusable permissions.

    Host: Debian 11 running ISPC 3.2.11
    Client: LinuxMint 21.2
    Mount string: sshfs -o workaround=rename [email protected]:/web /home/schwim/Remote/domain.com
    When I upload content to /web, it results in the following(src-admin in image below)
    Could someone help me figure out what I need to change to be able to upload content to my web directory giving it usable permissions(able to access in the browser) without extra steps?
    upload_2023-9-21_11-47-15.png
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The tool you are using shows numeric user ID's instead of user and group name, but permissions can be perfectly fine. Or do you experience any problems in using the website when accessing the uploaded files with a browser?
     
  3. schwim

    schwim Member HowtoForge Supporter

    Sorry for not clarifying my issue. When I try to visit the uploaded files/directories in a browser, the file refuses to load. When looking at the different permissions between an sshfs upload(src-admin) and an FTP upload using SSHFTP(assets), the group can access both files and folders for the FTP upload but has no access for the SSHFS upload.

    FTPSSH: Can view these in a web browser
    [​IMG]
    SSHFS: file inaccessible in a web browser
    [​IMG]
     
  4. schwim

    schwim Member HowtoForge Supporter

    I forgot to add, doing this in the terminal resolves the issue but I'd like to not have to do this each time:
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    ahrasis likes this.

Share This Page