magallanes/docs/example-config/.mage/tasks/Privileges.php

21 lines
333 B
PHP
Raw Normal View History

2011-11-23 12:39:59 +01:00
<?php
namespace Task;
use Mage\Task\AbstractTask;
class Privileges extends AbstractTask
2011-11-23 12:39:59 +01:00
{
public function getName()
{
return 'Fixing file privileges';
}
public function run()
{
$command = 'chown 33:33 . -R';
$result = $this->runCommandRemote($command);
2011-11-23 12:39:59 +01:00
return $result;
}
}