-
I want to add SFtpGo as a container to our aspire application. The container starts fine and I can also connect to the created user, but I have problems mapping users folders. In SFtpGo I am using local file system as provider. My idea was to have some base directory in the container which is persisted in Azure Files later. Therefore I used The issue is now, that SFtpGo wants to create a subfolder for each user. I can see in the logs of the SFTPGO image that it tries to do so, but fails with "Permission Denied". The same happens when I connect and manually want to create the folder. I think this is, because folder is created with the I have no idea how to solve this and help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well now that I wrote that, I found a solution. I read in the docs that there is a default folder for user data at |
Beta Was this translation helpful? Give feedback.
Well now that I wrote that, I found a solution. I read in the docs that there is a default folder for user data at
/srv/sftpgo/data
so I just used that for the volume.WithVolume(name: "sftp", target: "/srv/sftpgo/data");
and this seems to work as the folder was already created upfront.