[1.4] [Errno 13] Permission denied when running user: other than root #138
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Edit: Updated title. See second comment.
I copied my v1.3.1 data to a new folder with the same permissions, but when starting the
pre-1.4container I get the following error. I've checked permissions and they are identical to the release version data. The referenced directory isn't mapped outside the container.Ok, looks like 1.4 doesn't like running with the docker compose
user:variable so that the container does not run as root. Works fine with 1.3.1. Running thepre-1.4container as root works fine.[1.4] [Errno 13] Permission denied: '/app/bricktracker/views/purchase_location.py'to [1.4] [Errno 13] Permission denied when running user: other than rootThanks for reporting this! The issue is now fixed and pushed to the image
pre-1.4.Docker's
COPYcommand preserved the file permissions from the build context. My build locally had some permission issues.The 1.3.1 image happened to be built on another computer. I added
chmod -R a+rX /appto the Dockerfile and it should work withuser:in the compose file now.Confirmed working with
user:set.