Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The other day I decided to do a re-install on my mandrake 10.1ce box. I had /home on a separate partition and so I thought I could do a re-install and keep all my user data safe. When I re-installed, sure enough /home was there safe and sound but I could only log on a root. If I tried to log in as my normal user it came back saying that I didn't have write access to my home directory and so KDE couldn't start. I've since backed up my home directory onto a CD and then done another reinstall, this time wiping /home clean and copied everything back from the CD so I am no longer stuck but if anyone can tell me why I wouldn't have write access to my own home directory then at least I won't get stuck next time.
Hi Emerson,
Thanks for the quick reply. I used the same username and password when I re-installed. If it was a problem in /etc/passwd how would I correct it?
Every user in system has an ID, when you create a new user it has assigned uid automatically. For Debian system it starts with 1000 for first user, 1001 for next, etc. Permissions are associated with uid, not name. So may happen if you back up your home dirctory and reinstall OS and do not create users in same order as before, then uid do not match and ... you know what happens.
Assume you had user joe with uid 1002. 'adduser --uid 1002 joe' creates user with given uid for your new system. You can see uid's in /etc/passwd file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.