New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files deleted after recreating user #1841
Comments
@seucolega newly created user always gets an empty dir so 4th step should be 3rd. |
@VicDeo so an existing »files« directory is wiped, if there’s data in it? That seems to be the problem here. |
This is a security feature. |
@jancborchardt I think it's cool to be a mighty heir of non-longer existing user due to the name collision. 💰 Newly created user gets an empty directory at his disposal. It's by design. |
Of course, a new user shouldnt get the files of a previous one with the same name. But as you see from the problem which the original poster had, they should not be completely erased either. A sane solution here might be to not erase the files if there are some existing ones, but rather move them to a folder called (username)-(some hash). That way at least the admin can recover them. What do you think? Involuntary data loss is pretty clearly not something which should ever happen with ownCloud. On 21.03.2013, at 21:32, VicDeo notifications@github.com wrote:
|
The proper resolution to this is not to delete the user, but to change their password. |
After updating the ownCloud, I had problems to access one administrator's account (admin). So I logged in with another admin's account to delete and create again the admin's account.
I followed the steps:
I didn't understand why the folder was empty, all files were permanently deleted.
The text was updated successfully, but these errors were encountered: