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?
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?
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 SSHFS: file inaccessible in a web browser
I forgot to add, doing this in the terminal resolves the issue but I'd like to not have to do this each time:
You probably have to set the right umask when mounting the filesystem with sshfs, see sshfs man page: https://linux.die.net/man/1/sshfs