{"action":"closed","issue":{"url":"https://api.github.com/repos/awatson1978/clinical-nightwatch/issues/9","labels_url":"https://api.github.com/repos/awatson1978/clinical-nightwatch/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/awatson1978/clinical-nightwatch/issues/9/comments","events_url":"https://api.github.com/repos/awatson1978/clinical-nightwatch/issues/9/events","html_url":"https://github.com/awatson1978/clinical-nightwatch/issues/9","id":61800893,"number":9,"title":"Permission issues","user":{"login":"guysmoilov","id":611655,"avatar_url":"https://avatars.githubusercontent.com/u/611655?v=3","gravatar_id":"","url":"https://api.github.com/users/guysmoilov","html_url":"https://github.com/guysmoilov","followers_url":"https://api.github.com/users/guysmoilov/followers","following_url":"https://api.github.com/users/guysmoilov/following{/other_user}","gists_url":"https://api.github.com/users/guysmoilov/gists{/gist_id}","starred_url":"https://api.github.com/users/guysmoilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guysmoilov/subscriptions","organizations_url":"https://api.github.com/users/guysmoilov/orgs","repos_url":"https://api.github.com/users/guysmoilov/repos","events_url":"https://api.github.com/users/guysmoilov/events{/privacy}","received_events_url":"https://api.github.com/users/guysmoilov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-15T11:48:14Z","updated_at":"2015-03-15T12:01:06Z","closed_at":"2015-03-15T12:01:06Z","body":"Why in your instructions you always say to do chmod 777?\r\nIs this really necessary and recommended? I would never want to do this on files that I execute!\r\nThere must be a safer way to work. Does Nightwatch run as some kind of dummy user or something? Why not just work with my own user permissions (chmod 755 or even 700)?\r\n\r\nAlso, these lines in run_nightwatch.sh don't make much sense:\r\n\\# TODO cd into the app dir as PWD\r\necho \"Changing file permissions...\"\r\n\\# Setup: changing file permissions\"\r\nmkdir -p .meteor/local/build/programs/server/assets/packages/clinical_nightwatch\r\nchmod +x .meteor/local/build/programs/server/assets/packages/clinical_nightwatch/launch_nightwatch*.sh\r\nchmod +x .meteor/local/build/programs/server/assets/packages/clinical_nightwatch/selenium/selenium-server-standalone-2.44.0.jar\r\n\r\nYou're creating a dir and immediately assuming there are files inside it? The script crashed at this point for me...."}}