{"action":"created","issue":{"url":"https://api.github.com/repos/moodlehq/moodle-performance-comparison/issues/47","labels_url":"https://api.github.com/repos/moodlehq/moodle-performance-comparison/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/moodlehq/moodle-performance-comparison/issues/47/comments","events_url":"https://api.github.com/repos/moodlehq/moodle-performance-comparison/issues/47/events","html_url":"https://github.com/moodlehq/moodle-performance-comparison/issues/47","id":43477534,"number":47,"title":"sudo delete_files not working","user":{"login":"schach","id":4126946,"avatar_url":"https://avatars.githubusercontent.com/u/4126946?v=3","gravatar_id":"","url":"https://api.github.com/users/schach","html_url":"https://github.com/schach","followers_url":"https://api.github.com/users/schach/followers","following_url":"https://api.github.com/users/schach/following{/other_user}","gists_url":"https://api.github.com/users/schach/gists{/gist_id}","starred_url":"https://api.github.com/users/schach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schach/subscriptions","organizations_url":"https://api.github.com/users/schach/orgs","repos_url":"https://api.github.com/users/schach/repos","events_url":"https://api.github.com/users/schach/events{/privacy}","received_events_url":"https://api.github.com/users/schach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-09-22T12:52:30Z","updated_at":"2015-02-20T03:17:32Z","closed_at":null,"body":"In clean_data.sh following calls don't work.\r\nsudo delete_files \"cache\"\r\nsudo delete_files \"$backupsdir/*\"\r\nLooks like sudoing a bash function is not possible.\r\n\r\nReplaced \"delete_files\" with \"rm -rf\" and removed the quotes to make it work:\r\nsudo rm -rf cache\r\nsudo rm -rf $backupsdir/*\r\n"},"comment":{"url":"https://api.github.com/repos/moodlehq/moodle-performance-comparison/issues/comments/75183530","html_url":"https://github.com/moodlehq/moodle-performance-comparison/issues/47#issuecomment-75183530","issue_url":"https://api.github.com/repos/moodlehq/moodle-performance-comparison/issues/47","id":75183530,"user":{"login":"rajeshtaneja","id":804487,"avatar_url":"https://avatars.githubusercontent.com/u/804487?v=3","gravatar_id":"","url":"https://api.github.com/users/rajeshtaneja","html_url":"https://github.com/rajeshtaneja","followers_url":"https://api.github.com/users/rajeshtaneja/followers","following_url":"https://api.github.com/users/rajeshtaneja/following{/other_user}","gists_url":"https://api.github.com/users/rajeshtaneja/gists{/gist_id}","starred_url":"https://api.github.com/users/rajeshtaneja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajeshtaneja/subscriptions","organizations_url":"https://api.github.com/users/rajeshtaneja/orgs","repos_url":"https://api.github.com/users/rajeshtaneja/repos","events_url":"https://api.github.com/users/rajeshtaneja/events{/privacy}","received_events_url":"https://api.github.com/users/rajeshtaneja/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T03:17:32Z","updated_at":"2015-02-20T03:17:32Z","body":"I think it is nice solution, but surely would be good to fix permissions in webapp/lib.php\r\nhttps://github.com/rajeshtaneja/moodle-performance-comparison/commit/ab22037f8d957c109ccf007881c3e1b521b4b5df"}}