File permissions
Permission denied errors (EACCES or EPERM) happen when PhotoStructure can’t access files it needs.
Common causes
- Docker volume permissions: The container user doesn’t match your host user
- Library on a network drive: NFS or SMB shares with restrictive permissions
- Read-only filesystem: Your photos are on a read-only mount
- Port below 1024: Binding to privileged ports requires root
Docker fixes
Make sure the container runs as your user:
docker run -e PUID=$(id -u) -e PGID=$(id -g) ...
See Docker setup for details.
Network drive fixes
For NFS mounts, ensure the no_root_squash option isn’t blocking access, or run PhotoStructure as the user that owns the files.
For SMB/CIFS mounts, specify uid and gid in your mount options.
Port permission fix
PhotoStructure defaults to port 1787, which doesn’t require elevated privileges. If you’ve configured a port below 1024, either use a higher port or run with appropriate capabilities.
