mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-05 00:48:57 +02:00
Allow for changing permissions on local host too depending on the stage
This commit is contained in:
@@ -4,6 +4,12 @@ namespace Mage\Task\BuiltIn\Filesystem;
|
||||
/**
|
||||
* Task for giving Apache write permissions on given paths.
|
||||
*
|
||||
* Usage :
|
||||
* pre-deploy:
|
||||
* - filesystem/permissions-writable-by-apache: {paths: /var/www/myapp/app/cache:/var/www/myapp/app/cache, checkPathsExist: true}
|
||||
* on-deploy:
|
||||
* - filesystem/permissions-writable-by-apache: {paths: app/cache:app/logs, checkPathsExist: true}
|
||||
*
|
||||
* @author Jérémy Huet <jeremy.huet@gmail.com>
|
||||
*/
|
||||
class PermissionsWritableByApacheTask extends PermissionsTask
|
||||
@@ -23,4 +29,4 @@ class PermissionsWritableByApacheTask extends PermissionsTask
|
||||
{
|
||||
return "Gives write permissions to Apache user for given paths [built-in]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user