{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/7234","labels_url":"https://api.github.com/repos/owncloud/core/issues/7234/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/7234/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/7234/events","html_url":"https://github.com/owncloud/core/issues/7234","id":27731969,"number":7234,"title":"Feature Request: ability to exclude external storage mounts from being synced by mirall","user":{"login":"mmattel","id":3321281,"avatar_url":"https://avatars.githubusercontent.com/u/3321281?v=3","gravatar_id":"","url":"https://api.github.com/users/mmattel","html_url":"https://github.com/mmattel","followers_url":"https://api.github.com/users/mmattel/followers","following_url":"https://api.github.com/users/mmattel/following{/other_user}","gists_url":"https://api.github.com/users/mmattel/gists{/gist_id}","starred_url":"https://api.github.com/users/mmattel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmattel/subscriptions","organizations_url":"https://api.github.com/users/mmattel/orgs","repos_url":"https://api.github.com/users/mmattel/repos","events_url":"https://api.github.com/users/mmattel/events{/privacy}","received_events_url":"https://api.github.com/users/mmattel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/Enhancement","name":"Enhancement","color":"02e10c"}],"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":585,"closed_issues":1,"state":"open","created_at":"2014-06-20T19:52:03Z","updated_at":"2015-04-07T07:30:23Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2014-02-17T16:25:22Z","updated_at":"2015-04-08T08:05:53Z","closed_at":null,"body":"During the tests with mirall (desktop sync client), I saw that you have the ability to sync all possible \"mount points\" you have. Not only the personal one (home) but also those who are assigned to you. Because I have mount points with capacities >2TB, I immediatly recognized that this will become problematic for many reasons.\r\n\r\nPossible reasons to exclude mounts from beeing synced:\r\n\r\n1. Capacity limitations\r\n2. Mounts to work with but you want to implement a no sync ability (single download would be still possible = harden misuse)\r\n3. Mounts which are set read only\r\n4. Shared folders\r\n5. Double synced like dropbox (dropbox can use a lot of space...)\r\n6. ...\r\n\r\nIn particular, the ability to exclude should be a must for an administrator who creates mounts and assignes them to users/groups ect. The other cases are to be discussed.\r\n\r\nThere are two aspects:\r\na. core  ... provide the ability to exclude mount points from beeing synced\r\nb. mirall ... exclude the marked mount points from the sync list presented\r\n\r\nIt is of course a question if we want to differenciate the ability to sync based on the mount itself and/or refine further on the user/group. This question targets core only and not mirall."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/90837143","html_url":"https://github.com/owncloud/core/issues/7234#issuecomment-90837143","issue_url":"https://api.github.com/repos/owncloud/core/issues/7234","id":90837143,"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},"created_at":"2015-04-08T08:05:53Z","updated_at":"2015-04-08T08:05:53Z","body":"If the exclusion is only a \"soft\" exclusion, one idea would be to have the server return a special WebDAV attribute on the folders that should not be synced, for example \"oc:nosync\". When the sync client sees this attribute, it would have to skip that folder.\r\nThen in the external storage mount options add an option \"Exclude from sync\" and make it so that the attribute \"oc:nosync\" is returned for such mount points."}}