Setting a Custom S3 location for a user fails if bucket already exists

Issue #14 resolved
Jeff Thorn created an issue

When running sudo addsftpuser in version 1.003.0, selecting a custom S3 location for a user will fail if the bucket already exists.

This is not an issue in the us-east-1 region. It is only an issue in other regions.

This will be fixed in version 1.003.1. In the meantime, you can manually edit /home/user/.sftpgateway/user.properties and add the custom S3 location yourself like so:

s3.uploadpath=s3://mybucket/mypath

Comments (1)

  1. Log in to comment