When using an install_mode in install_subdir(), that should apply to the files and not to the directory tree. Otherwise, an install_mode not including the executable bit will make the tree inaccessible, since directories need it to be traversed. If the mode needs to be applied to both files and directories, then install_subdir() is only useful to install files with the executable bit set, which is not really that useful... So default to just using the umask for the directories and applying install_mode to the files only. This can be reviewed in the future, possibly by adding a separate install_dir_mode attribute, or perhaps adding an optional fourth field to FileMode with the mode for directories (this is similar to how RPM handles specifying mode of directory trees recursively added to the package.)pull/3134/head
parent
6bab3d40a9
commit
0ccc0e92d1
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue