{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/20435","labels_url":"https://api.github.com/repos/owncloud/core/issues/20435/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/20435/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/20435/events","html_url":"https://github.com/owncloud/core/issues/20435","id":116105353,"number":20435,"title":"Customize scanner for root storage to disable scanning.","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/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/resolves-blue-ticket","name":"resolves-blue-ticket","color":"0033CC"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-10T13:24:42Z","updated_at":"2015-11-12T07:39:55Z","closed_at":null,"body":"The scanner for the root folder be customized to not put entries in the cache for the root folder"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/156025989","html_url":"https://github.com/owncloud/core/issues/20435#issuecomment-156025989","issue_url":"https://api.github.com/repos/owncloud/core/issues/20435","id":156025989,"user":{"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},"created_at":"2015-11-12T07:39:55Z","updated_at":"2015-11-12T07:39:55Z","body":"> Don't we assume the ownCloud root data directory is owned by ownCloud? Is there a case where this is an unreasonable assumption? Perhaps in windows home directories and other external storage?\r\n\r\nThe original case was caused by a folder called `.snapshots` which was created by the underlying filesystem and can't be removed or have more restrictive permissions. This folder shouldn't be scanned and also shouldn't be a problem for ownCloud. As it is a backup access folder it contains the very same folder structure many times (i.e. once per day in the last week, once per week in the last 8 weeks, once per month in the last year, etc) which causes owncloud to create a ton of file cache entries in the root storage with no real sense."}}