Comment 4 for bug 18632

Revision history for this message
Sivan Greenberg (sivan) wrote : Re: Users and groups-tool failed to create home folder after deleting user and adding a new user in the same operation

I've discussed this with upstream, and it appears the culprit lies in how the frontend is communicating with the backend. When a user is removed, and a new one is created in the same run without pressing okay as detailed in the reproduction scenario, the removed and new users data takes the last item (same place) in the xml that is dispatched to the backend to process. then the backend mistakengly thinks that this is a user modification, rather then a removed user , and a one that has been newly added. carlosg suggested adding an asserted mkdir call in the backend, which would be a very small and unobtrusive patch.