Error: EACCES: permission denied, mkdir 'upload/library'
I am using immich from kubernetes containers. I have been using the the
env
variables to set PGID
& PUID
in the container, but perhaps this never worked or isn't being respected as I'm getting this error when I replaced the filesystem it was using to a backup. My first thought was checking the actual filesystem and can confirm the filesytem is configured for that PGID/PUID
as owner.4 Replies
I don't believe we support those env vars
The proper way on kubernetes is https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods
Kubernetes
Configure a Security Context for a Pod or Container
A security context defines privilege and access control settings for a Pod or Container. Security context settings include, but are not limited to:
Discretionary Access Control: Permission to access an object, like a file, is based on user ID (UID) and group ID (GID).
Security Enhanced Linux (SELinux): Objects are assigned security labels.
Runni...
I don't know whether this works for immich - but if it doesn't that should probably be considered a bug
I'll dig in and find out