Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: restore attributes on directories
For unknown reason, directories were skipped when applying windows attributes. We now apply attributes also to directories. We need the additional access right GENERIC_READ even when only opening directories WRITE_ONLY, as otherwise access is denied when applying the compressed attribute. Fixes #629: windows: Attributes for directories not restored
- Loading branch information
Showing
2 changed files
with
20 additions
and
22 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
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