SSHFS Remote Mount

Issue #935 new
Nosial created an issue

Hello Everyone.

I’ve ran into an issue when setting up poste.io on a VPS, due to the limited amount of storage of the VPS I would like to use a remote server to store data.

To accomplish this, I created a sshfs mount on the VPS with read/write access to the remote server. After I created a poste.io instance using docker-compose as usual and configured the volume to point to the sshfs location.

While poste.io runs normally and can write/read files onto this mount as i can clearly see it creating files; it runs into an issue when it tries to apply permissions to said files which results to a permission denied error which renders the instance unusable until this issue is resolved.

When attempting to setup poste.io without using a sshfs mount, it works perfectly fine without an issue.

Comments (2)

  1. SH repo owner

    The problem is that there are multiple users in the mail server itself, which are used to separate ownership of different daemons.

    You should look in the sshfs man to see if there is something that would allow you to respect and accept permissions via the mount.

  2. Log in to comment