Commit 763f96da by Nobuyoshi Nakada

Invoke chmod for group or world writable directories only

parent 29d65e07
...@@ -406,7 +406,7 @@ after_install_package() { ...@@ -406,7 +406,7 @@ after_install_package() {
fix_directory_permissions() { fix_directory_permissions() {
# Ensure installed directories are not world-writable to avoid Bundler warnings # Ensure installed directories are not world-writable to avoid Bundler warnings
find "$PREFIX_PATH" -type d -exec chmod go-w {} \; find "$PREFIX_PATH" -type d \( -perm -020 -o -perm -002 \) -exec chmod go-w {} \;
} }
require_gcc() { require_gcc() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment