From 86f2090c707eab2de0b527c4ec0bf8f4c96176f0 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 17 Jun 2014 17:05:10 -0500 Subject: [PATCH] git: fix permissions on html doc directories --- Formula/git.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/git.rb b/Formula/git.rb index b0e683ecfc..f02c5c753d 100644 --- a/Formula/git.rb +++ b/Formula/git.rb @@ -120,8 +120,9 @@ class Git < Formula man.install resource('man') (share+'doc/git-doc').install resource('html') - # Make html docs world-readable; check if this is still needed at 1.8.6 + # Make html docs world-readable chmod 0644, Dir["#{share}/doc/git-doc/**/*.{html,txt}"] + chmod 0755, Dir["#{share}/doc/git-doc/{RelNotes,howto,technical}"] end def caveats; <<-EOS.undent