Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1536 from restic/fix-restorer-permissions
restore: Fix directory permissions
- Loading branch information
Showing
3 changed files
with
57 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Bugfix: Restore directory permissions as the last step | ||
|
||
This change allows restoring into directories that were not writable during | ||
backup. Before, restic created the directory, set the read-only mode and then | ||
failed to create files in the directory. This change now restores the directory | ||
(with its permissions) as the very last step. | ||
|
||
https://github.com/restic/restic/issues/1512 | ||
https://github.com/restic/restic/pull/1536 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters