Closed kevdogg closed 2 years ago
Hey @kevdogg ,
I tried to run the container with a non-root user (with --user 8081:8081
) and generate a new configuration file, but the owner of the /home/bitwarden/.config/vaultwarden_backup/rclone
directory is 8081.
Make sure you use user 8081 every time you run the container? Try deleting the /rclone
directory and retry.
See #47
I took your image and rebuilt is using a Dockerfile:
I then started the container to create the config like this:
The container started, however the directory that was created --> /home/bitwarden/.config/vaultwarden_backup/rclone --> was owned by the root user. The container however tried to write rclone.conf within this directory as the non-root user, however it could create this file due to permissions.
In summary -- the rclone subdirectory was created as the root user, but the rclone.conf file was created as the non-root user.