2011-11-23 09:39:59 -02:00
|
|
|
<?php
|
|
|
|
|
class Task_Privileges
|
|
|
|
|
extends Mage_Task_TaskAbstract
|
|
|
|
|
{
|
|
|
|
|
public function getName()
|
|
|
|
|
{
|
|
|
|
|
return 'Fixing file privileges';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function run()
|
|
|
|
|
{
|
|
|
|
|
$command = 'chown 33:33 . -R';
|
|
|
|
|
$result = $this->_runRemoteCommand($command);
|
|
|
|
|
|
|
|
|
|
return $result;
|
|
|
|
|
}
|
|
|
|
|
}
|