Thanks for the help!
So far I’ve tried a few things:
-
Running as root (PUID/GUID 0): restored folders still always end up as
drwxr--r-- (0744) on the Unraid filesystem, even if the original in the backup was drwxrwxrwx (0777). regardless adding -ignore-owner flag or not. I am wondering why this could happen
-
Umask: I tried setting the
UMASK=000 environment variable for the container, but when I docker exec in and run umask, it still shows 0022. Is there a specific trick for your image to get the umask to 000 (or even 0002), or another environment variable I should use since you mentioned overriding the entrypoint might not be safe.
Also this leads to another strange behavior : the resulting permissions are not what I’d expect even from a 0022 umask (getting 0744 instead of 0755 from an original 0777), I’m a bit stuck.
My main goal is just to get Duplicacy to restore directories that were originally 0777 as 0777 again, and files (e.g., 0666 originals) as 0666, so they’re accessible to all users on my server.
Any further ideas based on this?`