-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg_install: Support TreeArtifacts. (#885)
* install: Delete unused params from internal functions. They are so confusing; I would've thought that because they took the parameters, they would set the user/group for me. But in fact, _chown_chmod needs to be called afterwards. * pkg_install: Support TreeArtifacts. Implementation notes: For tree artifacts, when creating directories, we mostly follow the modes set for the whole TreeArtifact, but also +x to allow searching the directory. This is similar to how pkg_tar etc. handles things. Link: #308 * pkg_install: Also add test for modes in TreeArtifacts. --------- Co-authored-by: HONG Yifan <[email protected]>
- Loading branch information
Showing
3 changed files
with
109 additions
and
27 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
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