© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•9mo ago•
4 replies
terminalVelocity

Immich and Security

A question regarding Docker container security.

Does Immich suport the following format in the docker-compose file?

    environment:
      - PUID=1002
      - PGID=1000
    environment:
      - PUID=1002
      - PGID=1000

The use of PUID and PGID then allows an administrator to lock down the
library/
library/
directory by assigning permissions to that directory and it's sub-directories. At the moment the permissions associated with the
library
library
directory are linked to the root account and are as follows
drwxr-xr-x 8 root root 4096 Jun  7 09:21 library
drwxr-xr-x 8 root root 4096 Jun  7 09:21 library


I'm not so sure that this a reasonable option. Any thoughts or suggestions?

UPDATE:
So, I guess what I'm wondering, is it possible to setup permissions for the
library
library
directory as
drwxr-xr-x 8 immich media 4096 Jun  7 09:21 library
drwxr-xr-x 8 immich media 4096 Jun  7 09:21 library

where the owner is immich and the group is media
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Content Security Policy for Immich
ImmichIImmich / help-desk-support
9mo ago
Immich and dragonfly
ImmichIImmich / help-desk-support
15mo ago
Nextcloud and Immich
ImmichIImmich / help-desk-support
3y ago
Immich and Postgres
ImmichIImmich / help-desk-support
4y ago