directory permissions broken after extraction if single file is extracted
Open
cmd: extract
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 875
- Avg merge
- 11h 15m
- Merged PRs (30d)
- 192
Description
Hello Borg-Team,
I have problems with the extract-function. Had to backup with sudo because of file permissions (f. e. backing up the /usr/local/bin-folder). The directory-permissions changed from `drwx r-x r-x` (original file, also in archive) to `drwx --- ---` (created directory at extraction time).
I used the command `sudo borg extract repo::archive usr/local/bin/file` to restore a single file.
Is there something wrong in my usage of the extraction-tool or is this a bug?
Contributor guide
Assessment
This issue has not been assessed yet.