borgbackup / borgbackup/borg

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

Open
#7,192 0 comments 0 reactions 0 assignees View on GitHub
os: windows
Dominant language
Python
Stars
13.7k
Forks
875
Avg merge
11h 15m
Merged PRs (30d)
192

Description

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".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.