{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/music/issues/581","repository_url":"https://api.github.com/repos/owncloud/music","labels_url":"https://api.github.com/repos/owncloud/music/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/music/issues/581/comments","events_url":"https://api.github.com/repos/owncloud/music/issues/581/events","html_url":"https://github.com/owncloud/music/issues/581","id":259126120,"number":581,"title":"Music \"forgets\" that it has already scanned successfully, when music folder unshared from group","user":{"login":"mmattel","id":3321281,"avatar_url":"https://avatars1.githubusercontent.com/u/3321281?v=4","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":[{"id":40748181,"url":"https://api.github.com/repos/owncloud/music/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-20T11:11:31Z","updated_at":"2017-09-20T13:02:10Z","closed_at":null,"author_association":"NONE","body":"Let a scan run via ./occ, album and music files appear in the app when finished.\r\nLogged off and logged on a day later, the music app has \"forgotten the successful scan, no albums or files shown, a message is presented to scan again...\r\nThe mount containing the music files is on smb granted to my user and additionally to a group. What I did was to remove the group (not me). The group did not contain myself as additional user, so no double removal possible."},"comment":{"url":"https://api.github.com/repos/owncloud/music/issues/comments/330844189","html_url":"https://github.com/owncloud/music/issues/581#issuecomment-330844189","issue_url":"https://api.github.com/repos/owncloud/music/issues/581","id":330844189,"user":{"login":"paulijar","id":8565946,"avatar_url":"https://avatars1.githubusercontent.com/u/8565946?v=4","gravatar_id":"","url":"https://api.github.com/users/paulijar","html_url":"https://github.com/paulijar","followers_url":"https://api.github.com/users/paulijar/followers","following_url":"https://api.github.com/users/paulijar/following{/other_user}","gists_url":"https://api.github.com/users/paulijar/gists{/gist_id}","starred_url":"https://api.github.com/users/paulijar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulijar/subscriptions","organizations_url":"https://api.github.com/users/paulijar/orgs","repos_url":"https://api.github.com/users/paulijar/repos","events_url":"https://api.github.com/users/paulijar/events{/privacy}","received_events_url":"https://api.github.com/users/paulijar/received_events","type":"User","site_admin":false},"created_at":"2017-09-20T13:02:10Z","updated_at":"2017-09-20T13:02:10Z","author_association":"COLLABORATOR","body":"Yes, that's how it works. Unsharing a file from a group is currently handled by removing that file from everyone, including the owner of the file and any users not belonging to that group.\r\n\r\nThe right way to handle this would be to dig from somewhere the information, which users belong to that group (let's call this user set _U_). Then find out, which users have that file shared also directly (not via the group) and exclude those users from _U_. Finally, we could remove the file only from users left in _U_. All this is doable, but requires quite much effort."}}
{"actor":{"display_login":"paulijar"}}