Admin user confusion with user directory exists by different ID

Bug #48630 reported by Steve White
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Medium
Unassigned

Bug Description

The Dapper installer asks for an admin user name. That's fine. I put in the same user name I have always used, which had a directory in my /home partition.

My first login was a disaster.

The reason was, the user ID was previously 500, but the installer arbitrarily chose the new UID to be 1000. So the admin user couldn't access its home directory.

I propose that the installer look in the /home directory to see if there's a directory corresponding to the admin user name provided, and do something right when there's a conflict

Some possibilities:

- just take the UID of the existing directory
- change the UID of the existing directory and all its files
- ask the user to resolve the conflict

Revision history for this message
William Grant (wgrant) wrote :

1000 is not abitrary, it's always the UID of the initial user on Debian/Ubuntu.

Which installer did you use? The Alternate or Desktop CD?

Revision history for this message
Steve White (stevan-white) wrote :

I guess that was the Desktop CD...it started up from the CD, and I started some installer from what looked like a KDE desktop.

The choice of 1000 was for all Debian systems was arbitrary, just as was 500 on some other system. (That's not to say it's BAD. I'm quite fond of 1000.)

Revision history for this message
seisen1 (seisen-deactivatedaccount-deactivatedaccount) wrote :

Thank you for taking the time to make Ubuntu better. Since what you submitted is not really a bug, or a problem, but rather an idea to improve Ubuntu, you are invited to post your idea in Ubuntu Brainstorm at [WWW] https://brainstorm.ubuntu.com/ where it can be discussed, voted by the community and reviewed by developers. Thanks for taking the time to share your opinion!

Changed in ubiquity:
status: New → Confirmed
Revision history for this message
Steve White (stevan-white) wrote :

Michael,

Thanks for the offer for further discussion! It isn't called for in this case however.

This is effectively a bug. For many users, it sufficiently fouls things up that they will conlude an Ubuntu installation has failed. For others such as myself, it merely wasted a lot of time.

Please consider fixing it!

Colin Watson (cjwatson)
Changed in ubiquity:
status: Confirmed → Triaged
Revision history for this message
Steve White (stevan-white) wrote :

Please fix this bug.

Thanks!

Revision history for this message
pablomme (pablomme) wrote :

Ubiquity should check for the existence of the user's home directory. I always upgrade Ubuntu by means of fresh installs, formatting my / partition and leaving my /home partition untouched. Usually I'll move /home/pablo to /home/pablo.old before doing that, but now upgrading to lucid alpha 3 I forgot to do it. I chose to reinstall -without even trying to reboot- to avoid mismatching settings etc.

It would be great if ubiquity offered to move the directory out of the way (possibly as $HOME/Old\ Personal\ Folder or something), in addition to just using it as-is. chowning it should definitely be done in either case.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in ubiquity (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.