Re-add a deleted user, old files exist but can not be viewed
Expected behavior User directories created without any files existing in them
Actual behavior User directory created with pre-existing files contained on the server, but not in the cache.
Steps to reproduce User is configured in ownCloud and has files stored

User is then deleted from ownCloud After a refresh of the page by the Admin, which seems to confirm the delete, the user’s directory is removed from the server

User is created with same user name as the one previously deleted The user’s previous files appear on the storage server. They do not appear in cache, and cannot be viewed on either the server or the web

Server configuration {"installed":"true","version":"5.0.15","versionstring":"5.0.10"}
Client configuration browser: IE9, IE 10, Chrome,
this is a know issue for a long time
@MTRichards @karlitschek we need a decision here
I thought the current state was that the local user data was deleted? Regardless, we need a switch that when a user is deleted, the admin is asked "delete user data?" and they click yes or no.
beaming in @jancborchardt ...
Yeah, I thought it was deleted too. And should the admin even be asked? What’s the case for deleting a user but not their data?
I believe the that has to do with shared files. If User-A shares a file to other users. And User-A leaves the company, that file may need to remain with the other users and not be deleted.
From: Jan-Christoph Borchardt [mailto:[email protected]] Sent: Thursday, August 15, 2013 11:10 AM To: owncloud/core Cc: Steve Robinson Subject: Re: [core] Re-add a deleted user, old files exist but can not be viewed (#4450)
Yeah, I thought it was deleted too. And should the admin even be asked? What’s the case for deleting a user but not their data?
— Reply to this email directly or view it on GitHub https://github.com/owncloud/core/issues/4450#issuecomment-22709127 . https://github.com/notifications/beacon/wMgqwf0iShPdEdXLpajheGQz8OKTusw3cUrRsWij9buraj4JOX8ct2_Z0b6e0zxz.gif
So, this points to a deeper problem in how we handle sharing, right? But can we fix the problem at hand in a different way? Or is it not that important? @karlitschek @MTRichards?
Assigned this case to @LukasReschke as https://github.com/owncloud/core/issues/6271 has been closed as a duplicate
Don´t know if there is time enough, but this would be a great future for Owncloud 7.
Is this issue planned to be fixed in combination with #7151 ?
This is fixed in oC 7 right?
This is fixed in oC 7. If you delete a user, the data disappears.