borgbackup / borgbackup/borg

borg2: fix archived mode and mode-related tests (windows)

Open
#7,191 1 comment 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

https://docs.python.org/3/library/stat.html

on linux, there is `stat_result.st_mode` and borg archives / restores that (as expected).

on native windows, this seems to be an emulated value, derived from other information, so there isn't much point in archiving that, but borg could maybe archive `.st_file_attributes`.

also, borg should set these file attributes at restore time.

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.