diff options
| -rw-r--r-- | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ chmods = %w( . bin etc include lib lib/pkgconfig Library sbin share var var/log share/man/man5 share/man/man6 share/man/man7 share/man/man8 share/info share/doc share/aclocal ). map{ |d| "#{HOMEBREW_PREFIX}/#{d}" }. - select{ |d| File.directory? d and not File.writable? d } + select{ |d| File.directory? d and (not File.readable? d or not File.writable? d or not File.executable? d) } chgrps = chmods.reject{ |d| File.stat(d).grpowned? } unless chmods.empty? |
