When you install Ubuntu if there is a directory with the same name of
the user you are creating, that directory will be chowned to the new
uid, so that if that directory was created with i.e. Fedora you will be
the owner of your file. However if there are other directories under
/home I guess it is right to keep the original permissions. However you
have right, there could be problems with other drives. But I don't think
that chown all files and directories to the user you create is a good
thing. If the previous system had two or more user, chown all to the
same user is not a good approach. Maybe Ubiquity should have a "user
merge" function that should let you automatically change permissions (ie
files owned by 500 should be chowned to 1000, 501 to 1001 etc). Or maybe
it should check the content of existing /home and ask if it should
create the same users (with the same id).

I.e. /home contains:

Popeye 500:500
Miky 501:501

Then Ubiquity should ask "I've found directories Popeye and Miky in
/home. Should I create this users?". If I reply yes it shold create
users Popeye and Miky with the same uid. Every file in other disk will
not need to be chowned.

-- 
chown all local drives to current user
https://bugs.launchpad.net/bugs/388943
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to