{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/18029","labels_url":"https://api.github.com/repos/owncloud/core/issues/18029/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/18029/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/18029/events","html_url":"https://github.com/owncloud/core/issues/18029","id":98716063,"number":18029,"title":"Move home folders into a subdir of data","user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement%20-%20proposed","name":"enhancement - proposed","color":"FF9900"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/11","html_url":"https://github.com/owncloud/core/milestones/backlog","labels_url":"https://api.github.com/repos/owncloud/core/milestones/11/labels","id":697149,"number":11,"title":"backlog","description":"","creator":{"login":"MTRichards","id":1818977,"avatar_url":"https://avatars.githubusercontent.com/u/1818977?v=3","gravatar_id":"","url":"https://api.github.com/users/MTRichards","html_url":"https://github.com/MTRichards","followers_url":"https://api.github.com/users/MTRichards/followers","following_url":"https://api.github.com/users/MTRichards/following{/other_user}","gists_url":"https://api.github.com/users/MTRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/MTRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MTRichards/subscriptions","organizations_url":"https://api.github.com/users/MTRichards/orgs","repos_url":"https://api.github.com/users/MTRichards/repos","events_url":"https://api.github.com/users/MTRichards/events{/privacy}","received_events_url":"https://api.github.com/users/MTRichards/received_events","type":"User","site_admin":false},"open_issues":609,"closed_issues":56,"state":"open","created_at":"2014-06-20T19:52:03Z","updated_at":"2015-08-03T16:32:44Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-08-03T10:42:09Z","updated_at":"2015-08-03T16:34:22Z","closed_at":null,"body":"Currently all home folders are directly under \"data\" and mix up with other folders.\r\nThis means that if you create a user called \"owncloud.log\" or \"owncloud.db\", it would try and overwrite these files but fail hopefully.\r\n\r\nAlso having the directories here makes it difficult to find out whether a directory contains metadata (like \"data/files_encryption\" or other global app-related metadata or whether they are real user folders.\r\n\r\nI suggest to move the home folders into a subdirectory, maybe \"data/home/$user\" instead of \"data/$user\".\r\n\r\nObviously such a move will require a careful migration.\r\n\r\n@schiesbn @MorrisJobke @icewind1991 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/127316152","html_url":"https://github.com/owncloud/core/issues/18029#issuecomment-127316152","issue_url":"https://api.github.com/repos/owncloud/core/issues/18029","id":127316152,"user":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T16:34:22Z","updated_at":"2015-08-03T16:34:22Z","body":"Proposal:\r\nuser data goes into data/u/{uid}\r\ngroup data goes into data/g/{gid}\r\napp data goes into data/a/{aid}\r\n\r\nAny changes in this area would require explicit storing of the users home in the user configuration."}}