-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tar.extract: slight mode improvement (#98)
The reason for using `filemode` to read the created mode was to respect the umask or equivalent mechanism for default permissions. Since the umask can only take permissions away, it is always correct to AND the default permissions with the desired permissions, since that will be more constrained than both the default and what the tarball requests.
- Loading branch information
1 parent
91a28ed
commit 61adcb8
Showing
2 changed files
with
2 additions
and
2 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