Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to photo folders owned by other users #833

Open
Chacsam opened this issue Apr 23, 2023 · 1 comment
Open

Access to photo folders owned by other users #833

Chacsam opened this issue Apr 23, 2023 · 1 comment
Labels
bug Something isn't working NFS

Comments

@Chacsam
Copy link

Chacsam commented Apr 23, 2023

I have tried installing Librephotos via Docker on a Proxmox LXC Debian container. (I used docker because my Postgres is on another machine)
My photos would remain on my Synology NAS (accessed via NFS v4) for a matter of Disk Space.

I have been able to setup everything.

BUT
The /mnt/photos is owned by nobody:nogroup (which I am not allowed to change) and cannot be setup in Librephotos.
The directories are not available in the user setup screen
image
While .env file is correct

# Location of your photos.
scanDirectory=/mnt/photos

On the same CT, if I create folders owned by root:root and set those in the env file, they will be seen by LibrePhotos, but that would require me to duplicate my photos on a fast but too small disk.

Is there any solution for this?

@Chacsam Chacsam changed the title Access to folders owned by other users Access to photo folders owned by other users Apr 23, 2023
@qantourisc
Copy link

qantourisc commented May 5, 2023

Try docker exec -it backend /bin/bash and examine the situation. Files should be in /data/
And IIRC the services run as root.

@derneuere derneuere added bug Something isn't working NFS labels May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working NFS
Projects
None yet
Development

No branches or pull requests

3 participants