When using an existing /home partition, we shouldn't fail to create a user that
already has the home directory under it. We should create the user and just
change the owner of the particular home directory to the UID of the newly
created user.
I'm not aware of any bug filed on this, but I think it should go to both master
and f19-branch, because it is and expected behaviour and a common use case. A
question is if we should show some warning, but I believe it is not necessary
and I would wait for a potential request to do so before starting to bother a
lot of users.
These patches automatically apply to the Initial Setup's functionality which
means they fix a regression between the Firstboot and the i-s.
Vratislav Podzimek (3):
Add a function to recursively change owner of a directory
Do change root properly when creating users
Handle the case where home directory already exists
pyanaconda/iutil.py | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
pyanaconda/users.py | 16 +++++++++++++++-
2 files changed, 66 insertions(+), 1 deletion(-)
--
1.7.11.7