-
Notifications
You must be signed in to change notification settings - Fork 0
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
Incorrect file permissions after snapshot ( possible umask error?) #2
Comments
is kopia running as root? is |
Kopia is running as root. I kept the default settings: All the files created by Kopia correctly have the owner |
So is the p/guid set to 99/100 or 0/0? I dont believe kopia will be able to create files with proper permissions unless the kopia service is running as root, and this is UMASK independent- just delete it |
I followed your advice above and set both
|
Are you on unraid? It might be an unraid thing. I don't see how this issue could be caused by the ZFS filesystem. I can't comment on whether it's an upstream issue except to say that umask is set as a docker variable. I'll try using the official kopia docker image and report back on whether I encounter the same issue. |
I installed the official docker image. It completely ignores PUID, PGID, and UMASK. Seems like this feature was requested on the kopia repository a while ago and never implemented. You said that this image is working fine for you. I'll see if there's some unRAID setting I'm missing or something. |
System information:
Steps to Reproduce
022
Expected results
All files and directories would have permissions
drwxr-xr-x (0755)
, as implied by umask022
.Actual results
Files and directories have permissions
drwx------ (0700)
.Why does this matter?
I need to mirror the repository off-site, which I do using Rsync and UnRaid's built-in SMB server. Any files with 0700 permission cannot be read by Rsync, resulting in a incomplete (and therefore corrupted/inaccessible) Kopia repository.
The text was updated successfully, but these errors were encountered: