[master/f19-branch] Fix user creation with existing home directory

Brian C. Lane bcl at redhat.com
Mon Jun 3 20:49:50 UTC 2013


On Thu, May 30, 2013 at 04:53:41PM +0200, Vratislav Podzimek wrote:
> 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 don't think this is a good idea. I don't think we can clearly
anticipate all the possible problems with changing ownership of all the
files. It might be ok to just change the ones owned by the same uid/gid
as the top level directory, but even then I'm reluctant to change user
data.

The original problem can be fixed fairly easily by the user after
install.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20130603/dcca66a6/attachment.sig>


More information about the anaconda-patches mailing list