{"action":"created","issue":{"url":"https://api.github.com/repos/thuehlinger/daemons/issues/45","labels_url":"https://api.github.com/repos/thuehlinger/daemons/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/thuehlinger/daemons/issues/45/comments","events_url":"https://api.github.com/repos/thuehlinger/daemons/issues/45/events","html_url":"https://github.com/thuehlinger/daemons/issues/45","id":126136423,"number":45,"title":"Permissions on created folders different between 1.0.10 and 1.2.3","user":{"login":"nlsrchtr","id":36688,"avatar_url":"https://avatars.githubusercontent.com/u/36688?v=3","gravatar_id":"","url":"https://api.github.com/users/nlsrchtr","html_url":"https://github.com/nlsrchtr","followers_url":"https://api.github.com/users/nlsrchtr/followers","following_url":"https://api.github.com/users/nlsrchtr/following{/other_user}","gists_url":"https://api.github.com/users/nlsrchtr/gists{/gist_id}","starred_url":"https://api.github.com/users/nlsrchtr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlsrchtr/subscriptions","organizations_url":"https://api.github.com/users/nlsrchtr/orgs","repos_url":"https://api.github.com/users/nlsrchtr/repos","events_url":"https://api.github.com/users/nlsrchtr/events{/privacy}","received_events_url":"https://api.github.com/users/nlsrchtr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"thuehlinger","id":1449958,"avatar_url":"https://avatars.githubusercontent.com/u/1449958?v=3","gravatar_id":"","url":"https://api.github.com/users/thuehlinger","html_url":"https://github.com/thuehlinger","followers_url":"https://api.github.com/users/thuehlinger/followers","following_url":"https://api.github.com/users/thuehlinger/following{/other_user}","gists_url":"https://api.github.com/users/thuehlinger/gists{/gist_id}","starred_url":"https://api.github.com/users/thuehlinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thuehlinger/subscriptions","organizations_url":"https://api.github.com/users/thuehlinger/orgs","repos_url":"https://api.github.com/users/thuehlinger/repos","events_url":"https://api.github.com/users/thuehlinger/events{/privacy}","received_events_url":"https://api.github.com/users/thuehlinger/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-12T09:41:19Z","updated_at":"2016-01-18T09:36:37Z","closed_at":null,"body":"I'm using the daemons gem in combination with delayed_job. After upgrading the daemons gem from version 1.0.10 to 1.2.3 I was experiencing a strange behavior: \r\n\r\nFolders created with `FileUtils.mkdir_p(dir)` got a permission mask, so that the user running the processes couldn't write into that folder. I got permission denied errors. After debugging and changing the permissions to 0755, the process was running fine again.\r\n\r\nRolling back to version 1.0.10, everything works as expected.\r\n\r\nIs there any explanation about this behavior? We're running a Debian based setup."},"comment":{"url":"https://api.github.com/repos/thuehlinger/daemons/issues/comments/172475983","html_url":"https://github.com/thuehlinger/daemons/issues/45#issuecomment-172475983","issue_url":"https://api.github.com/repos/thuehlinger/daemons/issues/45","id":172475983,"user":{"login":"nlsrchtr","id":36688,"avatar_url":"https://avatars.githubusercontent.com/u/36688?v=3","gravatar_id":"","url":"https://api.github.com/users/nlsrchtr","html_url":"https://github.com/nlsrchtr","followers_url":"https://api.github.com/users/nlsrchtr/followers","following_url":"https://api.github.com/users/nlsrchtr/following{/other_user}","gists_url":"https://api.github.com/users/nlsrchtr/gists{/gist_id}","starred_url":"https://api.github.com/users/nlsrchtr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlsrchtr/subscriptions","organizations_url":"https://api.github.com/users/nlsrchtr/orgs","repos_url":"https://api.github.com/users/nlsrchtr/repos","events_url":"https://api.github.com/users/nlsrchtr/events{/privacy}","received_events_url":"https://api.github.com/users/nlsrchtr/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T09:36:37Z","updated_at":"2016-01-18T09:36:37Z","body":"Thanks for you feedback, @thuehlinger. I'll try to update the version again and give you more details an the permissions."}}