mandarons / icloud-drive-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
985 stars 47 forks source link

[BUG] PUID, PGID, UMASK variables not honoured #140

Closed cyruz-git closed 2 months ago

cyruz-git commented 11 months ago

PUID and PGID variables are not honoured, all the files/directories are owned by root with umask 022 even if I set UMASK=002.

mandarons commented 10 months ago

Try running the container with --user option.

cyruz-git commented 10 months ago

Sadly it doesn't work, the container doesn't startup correctly, even if I start from zero.

happyeddie commented 10 months ago

Try running the container with --user option.

When configured with -user, a permission error is thrown. PermissionError: [Errno 13] Permission denied: '/app/icloud.log'

mandarons commented 2 months ago

Fixed by #206