mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-05 00:48:57 +02:00
Adds a recursive parameter and allows for more chmod possibilities such as +a
This commit is contained in:
@@ -6,9 +6,9 @@ namespace Mage\Task\BuiltIn\Filesystem;
|
||||
*
|
||||
* Usage :
|
||||
* pre-deploy:
|
||||
* - filesystem/permissions-writable-by-apache: {paths: /var/www/myapp/app/cache:/var/www/myapp/app/cache, checkPathsExist: true}
|
||||
* - filesystem/permissions-writable-by-apache: {paths: /var/www/myapp/app/cache:/var/www/myapp/app/cache, recursive: false, checkPathsExist: true}
|
||||
* on-deploy:
|
||||
* - filesystem/permissions-writable-by-apache: {paths: app/cache:app/logs, checkPathsExist: true}
|
||||
* - filesystem/permissions-writable-by-apache: {paths: app/cache:app/logs, recursive: false, checkPathsExist: true}
|
||||
*
|
||||
* @author Jérémy Huet <jeremy.huet@gmail.com>
|
||||
*/
|
||||
@@ -19,7 +19,7 @@ class PermissionsWritableByApacheTask extends PermissionsTask
|
||||
parent::init();
|
||||
|
||||
$this->setGroup('www-data')
|
||||
->setRights('775');
|
||||
->setRights('g+w');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user