From efe366ad60b691f44b29eaec9dbfcc8600bab09d Mon Sep 17 00:00:00 2001
From: James <james@sourcefabric-DX4840.(none)>
Date: Thu, 6 Oct 2011 15:49:45 -0400
Subject: [PATCH] CC-2918: Storage dir: Default perms should not allow
 world-readable /writable/executable access at install time

- done
---
 install_minimal/include/AirtimeInstall.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install_minimal/include/AirtimeInstall.php b/install_minimal/include/AirtimeInstall.php
index fc432c166..24189f057 100644
--- a/install_minimal/include/AirtimeInstall.php
+++ b/install_minimal/include/AirtimeInstall.php
@@ -162,7 +162,7 @@ class AirtimeInstall
             echo "* Giving Apache permission to access $rp".PHP_EOL;
             $success = chgrp($rp, $CC_CONFIG["webServerUser"]);
             $success = chown($rp, "www-data");
-            $success = chmod($rp, 02777);
+            $success = chmod($rp, 02770);
         }
     }