{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/app/issues/408","repository_url":"https://api.github.com/repos/cakephp/app","labels_url":"https://api.github.com/repos/cakephp/app/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/app/issues/408/comments","events_url":"https://api.github.com/repos/cakephp/app/issues/408/events","html_url":"https://github.com/cakephp/app/issues/408","id":168840967,"number":408,"title":"Insufficient file permissions post install","user":{"login":"SplicePHP","id":4450898,"avatar_url":"https://avatars.githubusercontent.com/u/4450898?v=3","gravatar_id":"","url":"https://api.github.com/users/SplicePHP","html_url":"https://github.com/SplicePHP","followers_url":"https://api.github.com/users/SplicePHP/followers","following_url":"https://api.github.com/users/SplicePHP/following{/other_user}","gists_url":"https://api.github.com/users/SplicePHP/gists{/gist_id}","starred_url":"https://api.github.com/users/SplicePHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SplicePHP/subscriptions","organizations_url":"https://api.github.com/users/SplicePHP/orgs","repos_url":"https://api.github.com/users/SplicePHP/repos","events_url":"https://api.github.com/users/SplicePHP/events{/privacy}","received_events_url":"https://api.github.com/users/SplicePHP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-08-02T09:37:02Z","updated_at":"2016-08-02T11:44:37Z","closed_at":null,"body":"After installing the file permissions are set to 757 instead of 777.\r\n757 does not seem to be writable by apache on my system.\r\nHere is a quick synopsis of my setup.\r\nI am running Linux Mint 18 with php 7.0.\r\nI have set up a virtual host in my home directory (~/www) and gave www-data group access to my account.\r\nThe install is run in the command line as my default user account.\r\nThe problem occurs here:\r\nLine 159: [PROJECT]/src/Console/Installer.php\r\n```\r\n$worldWritable = bindec('0000000111');\r\n```\r\nbindec resolves to 7\r\n\r\nLogic would presume that group access would imply world access but this doesn't seem to be the case for some reason.\r\nIf group has no write access and the apache server is a part of the group it can't write to the directories.\r\n\r\nChanging $worldWritable to ```bindec('1100001001')``` or ```777``` fixes the issue on my system.\r\n\r\nIs there any reason for the permissions not to be set to 777 instead of 757?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/cakephp/app/issues/comments/236880162","html_url":"https://github.com/cakephp/app/issues/408#issuecomment-236880162","issue_url":"https://api.github.com/repos/cakephp/app/issues/408","id":236880162,"user":{"login":"SplicePHP","id":4450898,"avatar_url":"https://avatars.githubusercontent.com/u/4450898?v=3","gravatar_id":"","url":"https://api.github.com/users/SplicePHP","html_url":"https://github.com/SplicePHP","followers_url":"https://api.github.com/users/SplicePHP/followers","following_url":"https://api.github.com/users/SplicePHP/following{/other_user}","gists_url":"https://api.github.com/users/SplicePHP/gists{/gist_id}","starred_url":"https://api.github.com/users/SplicePHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SplicePHP/subscriptions","organizations_url":"https://api.github.com/users/SplicePHP/orgs","repos_url":"https://api.github.com/users/SplicePHP/repos","events_url":"https://api.github.com/users/SplicePHP/events{/privacy}","received_events_url":"https://api.github.com/users/SplicePHP/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T11:44:37Z","updated_at":"2016-08-02T11:44:37Z","body":"setfacl didn't seem to change anything. Gonna reboot and check if the issue persists. Will google to find the best solution for default permission. I will post an update here as soon as I get it working properly for future reference.\r\n\r\nThanks a lot for the help, think I should be able to figure this out now."}}
{"actor":{"display_login":"SplicePHP"}}