{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/13893","labels_url":"https://api.github.com/repos/owncloud/core/issues/13893/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/13893/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/13893/events","html_url":"https://github.com/owncloud/core/pull/13893","id":56545230,"number":13893,"title":"Only make sure the cache directory exists when we use it","user":{"login":"icewind1991","id":1283854,"avatar_url":"https://avatars.githubusercontent.com/u/1283854?v=3","gravatar_id":"","url":"https://api.github.com/users/icewind1991","html_url":"https://github.com/icewind1991","followers_url":"https://api.github.com/users/icewind1991/followers","following_url":"https://api.github.com/users/icewind1991/following{/other_user}","gists_url":"https://api.github.com/users/icewind1991/gists{/gist_id}","starred_url":"https://api.github.com/users/icewind1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewind1991/subscriptions","organizations_url":"https://api.github.com/users/icewind1991/orgs","repos_url":"https://api.github.com/users/icewind1991/repos","events_url":"https://api.github.com/users/icewind1991/events{/privacy}","received_events_url":"https://api.github.com/users/icewind1991/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/5%20-%20To%20review","name":"5 - To review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/Performance","name":"Performance","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-next","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":334,"closed_issues":2,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-02-04T17:12:20Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":5,"created_at":"2015-02-04T15:55:18Z","updated_at":"2015-02-04T17:14:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/13893","html_url":"https://github.com/owncloud/core/pull/13893","diff_url":"https://github.com/owncloud/core/pull/13893.diff","patch_url":"https://github.com/owncloud/core/pull/13893.patch"},"body":"When setting up the filesystem for a lot of users (such as creating a share with a large group) checking the existence of the cache dir can become time consuming.\r\nThis switches it to only check for the cache dir when the cache is being used.\r\n\r\nPart of #13725\r\n\r\ncc @DeepDiver1975 @PVince81 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/72895873","html_url":"https://github.com/owncloud/core/pull/13893#issuecomment-72895873","issue_url":"https://api.github.com/repos/owncloud/core/issues/13893","id":72895873,"user":{"login":"icewind1991","id":1283854,"avatar_url":"https://avatars.githubusercontent.com/u/1283854?v=3","gravatar_id":"","url":"https://api.github.com/users/icewind1991","html_url":"https://github.com/icewind1991","followers_url":"https://api.github.com/users/icewind1991/followers","following_url":"https://api.github.com/users/icewind1991/following{/other_user}","gists_url":"https://api.github.com/users/icewind1991/gists{/gist_id}","starred_url":"https://api.github.com/users/icewind1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewind1991/subscriptions","organizations_url":"https://api.github.com/users/icewind1991/orgs","repos_url":"https://api.github.com/users/icewind1991/repos","events_url":"https://api.github.com/users/icewind1991/events{/privacy}","received_events_url":"https://api.github.com/users/icewind1991/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T17:14:18Z","updated_at":"2015-02-04T17:14:18Z","body":"> (Sorry don't find how to comment the PR)\r\n\r\nWithin the \"Files Changed\" tab, click on the line number of the line you want to comment on\r\n\r\n> If I am not mistaken, I would say your code considers that user home directory is '/' . $user->getUID() and not getHome\r\n\r\nThe paths there are paths within owncloud's virtual filesystem, not physical paths on the \"real\" filesystem\r\n\r\n"}}