From 29624075478712d93f46e25d02b7fd2d0518efde Mon Sep 17 00:00:00 2001
From: Ann Beeskau <abeeskau@ebay.com>
Date: Tue, 24 Mar 2015 17:16:37 -0700
Subject: [PATCH] CICD-1572: Resolve permission issue with new compiler code

- removed temporary fix
- resolved permissions issue on bamboo agents
---
 dev/tools/Magento/Tools/Di/compiler.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/dev/tools/Magento/Tools/Di/compiler.php b/dev/tools/Magento/Tools/Di/compiler.php
index fca4673dd90..ced28772e7c 100644
--- a/dev/tools/Magento/Tools/Di/compiler.php
+++ b/dev/tools/Magento/Tools/Di/compiler.php
@@ -247,11 +247,6 @@ try {
         . ' in the "var" directory. For instance, if you run the Magento application using Apache,'
         . ' the owner of the files in the "var" directory should be the Apache user (example command:'
         . ' "chown -R www-data:www-data <MAGENTO_ROOT>/var" where MAGENTO_ROOT is the Magento root directory).' . "\n";
-    /** TODO: Temporary solution before having necessary changes on bamboo to overcome issue described above */
-    $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($rootDir . '/var'));
-    foreach ($iterator as $item) {
-        chmod($item, 0777);
-    }
 
 } catch (Zend_Console_Getopt_Exception $e) {
     echo $e->getUsageMessage();
-- 
GitLab