]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 576060: Make bzr not be readable by the webserver
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 13 Jul 2010 23:03:47 +0000 (16:03 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Tue, 13 Jul 2010 23:03:47 +0000 (16:03 -0700)
r=reed, a=mkanat

Bugzilla/Install/Filesystem.pm

index 789f193e5660a12ed8f4d780cfeb4996c420ad3b..2f6e72e9b3de7ead4fd03f7a7572f5d41b9938e8 100644 (file)
@@ -214,6 +214,8 @@ sub FILESYSTEM {
                                      dirs => $owner_dir_readable },
          'contrib'             => { files => $owner_executable,
                                      dirs => $owner_dir_readable, },
+         '.bzr'                => { files => $owner_readable,
+                                     dirs => $owner_dir_readable },
     );
 
     # --- FILES TO CREATE --- #