Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previous versions of keypass (1.9.0 and below) had all files in `/opt/keypass` belong to UID 1000. This made it possible to run the container with an unprivileged user (1000). Version 1.11.0 dropped the `chown` from the Dockerfile and had all files in /opt/keypass owned by root. Since the `keypass-entrypoint.sh` performs some inline changes with `sed -i` in `/opt/keypass/config.yml`, it has to be run as root. Which breaks some security constraints in openshift. This PR restores ownership of the `/opt/keypass` folder to UID 1000, keeping backward compatibility with the security policy configured for keypass 1.9.0
- Loading branch information