Skip to content
Snippets Groups Projects
Commit 29624075 authored by Ann Beeskau's avatar Ann Beeskau
Browse files

CICD-1572: Resolve permission issue with new compiler code

- removed temporary fix
- resolved permissions issue on bamboo agents
parent 94e64062
Branches
No related merge requests found
...@@ -247,11 +247,6 @@ try { ...@@ -247,11 +247,6 @@ try {
. ' in the "var" directory. For instance, if you run the Magento application using Apache,' . ' 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:' . ' 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"; . ' "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) { } catch (Zend_Console_Getopt_Exception $e) {
echo $e->getUsageMessage(); echo $e->getUsageMessage();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment