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

borg2: implement "real" users/groups (windows) #7192

Open
ThomasWaldmann opened this issue Dec 8, 2022 · 0 comments
Open

borg2: implement "real" users/groups (windows) #7192

ThomasWaldmann opened this issue Dec 8, 2022 · 0 comments

Comments

@ThomasWaldmann
Copy link
Member

on linux, borg archives uid/gid and user/group from stat_result.st_uid/gid and also restores that accordingly (given it has the permissions). at some places, borg uses uid/gid 0 or expects uid/gid 0 to resolve to something (like "root").

on windows, this is obviously a bit different. to avoid breakage all over the place, borg and the tests currently use a quick hack in borg.platform.windows so that always just returns 0 and "root".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant