{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/812","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/812/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/812/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/812/events","html_url":"https://github.com/dart-lang/pub/issues/812","id":85644811,"number":812,"title":"umask is too strict in ~/.pub-cache/hosted/pub.dartlang.org/* directories","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T22:15:21Z","updated_at":"2015-06-05T22:15:21Z","closed_at":null,"body":"_Originally opened as dart-lang/sdk#16040_\n\n*This issue was originally filed by oghea...&#064;gmail.com*\n_____\n**What steps will reproduce the problem?**\n1. Create a package with any dependencies from pub.dartlang.org\n2. run `pub get`\n3. See that the permission mask of ~/.pub-cache/hosted/pub.dartlang.org/&lt;dependency&gt; is 700 rather than 755.\n\n**What is the expected output? What do you see instead?**\nI expect the permissions of those directories to be the same as the parent, 755. Instead the permissions are 700.\n\n\n**What version of the product are you using? On what operating system?**\nUbuntu 13.10\nPub 1.0.0+10.r30798\n\n**Please provide any additional information below.**\nIn particular this causes issues when trying to serve a Dart application via mod_userdir in Apache during development. Apache follows the package symlinks until it reaches the package directory, then cannot read from the directory to serve the files."},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109458051","html_url":"https://github.com/dart-lang/pub/issues/812#issuecomment-109458051","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/812","id":109458051,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T22:15:21Z","updated_at":"2015-06-05T22:15:21Z","body":"<a href=\"https://github.com/nex3\"><img src=\"https://avatars.githubusercontent.com/u/188?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [nex3](https://github.com/nex3)**\n\n----\n\n*Added [Duplicate](../labels/Duplicate) label.*\n*Marked as being merged into dart-lang/pub#756.*\n"}}