{"action":"created","issue":{"url":"https://api.github.com/repos/andres-montanez/Magallanes/issues/246","labels_url":"https://api.github.com/repos/andres-montanez/Magallanes/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/andres-montanez/Magallanes/issues/246/comments","events_url":"https://api.github.com/repos/andres-montanez/Magallanes/issues/246/events","html_url":"https://github.com/andres-montanez/Magallanes/issues/246","id":93363397,"number":246,"title":"Custom task was not found","user":{"login":"eaglefsd","id":3400293,"avatar_url":"https://avatars.githubusercontent.com/u/3400293?v=3","gravatar_id":"","url":"https://api.github.com/users/eaglefsd","html_url":"https://github.com/eaglefsd","followers_url":"https://api.github.com/users/eaglefsd/followers","following_url":"https://api.github.com/users/eaglefsd/following{/other_user}","gists_url":"https://api.github.com/users/eaglefsd/gists{/gist_id}","starred_url":"https://api.github.com/users/eaglefsd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaglefsd/subscriptions","organizations_url":"https://api.github.com/users/eaglefsd/orgs","repos_url":"https://api.github.com/users/eaglefsd/repos","events_url":"https://api.github.com/users/eaglefsd/events{/privacy}","received_events_url":"https://api.github.com/users/eaglefsd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-06T19:54:10Z","updated_at":"2015-12-20T14:27:24Z","closed_at":null,"body":"Heyho,\r\n\r\nI'm trying to fix my permissions with a custom task.\r\n\r\nMy code looks like this:\r\n\r\n```php\r\nnamespace Task;\r\n\r\nuse Mage\\Task\\AbstractTask;\r\n\r\nclass Permissions extends AbstractTask\r\n{\r\n    public function getName()\r\n    {\r\n        return 'Setze Berechtigungen auf 775';\r\n    }\r\n\r\n    public function run()\r\n    {\r\n        $command = 'chmod -R 775 /var/www/vhosts/hassels.eu/schule.hassels.eu/';\r\n        $result = $this->runCommandRemote($command);\r\n\r\n        return $result;\r\n    }\r\n}\r\n```\r\n\r\nThe file is called Permissions.php and it is stored in .mage/tasks.\r\nI call the task with ```- permissions```.\r\n\r\nMagallanes always tells me that \"Task Permission was not found\". What am I doing wrong?"},"comment":{"url":"https://api.github.com/repos/andres-montanez/Magallanes/issues/comments/166122984","html_url":"https://github.com/andres-montanez/Magallanes/issues/246#issuecomment-166122984","issue_url":"https://api.github.com/repos/andres-montanez/Magallanes/issues/246","id":166122984,"user":{"login":"tilt86","id":13884334,"avatar_url":"https://avatars.githubusercontent.com/u/13884334?v=3","gravatar_id":"","url":"https://api.github.com/users/tilt86","html_url":"https://github.com/tilt86","followers_url":"https://api.github.com/users/tilt86/followers","following_url":"https://api.github.com/users/tilt86/following{/other_user}","gists_url":"https://api.github.com/users/tilt86/gists{/gist_id}","starred_url":"https://api.github.com/users/tilt86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilt86/subscriptions","organizations_url":"https://api.github.com/users/tilt86/orgs","repos_url":"https://api.github.com/users/tilt86/repos","events_url":"https://api.github.com/users/tilt86/events{/privacy}","received_events_url":"https://api.github.com/users/tilt86/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T14:27:24Z","updated_at":"2015-12-20T14:27:24Z","body":"Idem for me with 1.0.6. Not tested with version < 1.0.6"}}