Can't make change to home folder after changing distro
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.
Can't make change to home folder after changing distro
Hi,
I installed Pop OS over Linux Mint by preserving the home partition. Then, I proceed to create the same user name as the one I have in Linux Mint. This works as expected. I was able to see my files and folders on the desktop and so on. But the problem is I couldn't make change to them. I couldn't delete files and folders, I couldn't change the settings...etc. It seems I was being prevented from making change to my home folder. Any suggestion?
The system spits out the list of all files and folders in my home directory, followed by "read-only file system".
But in the end, I still can't make change to my home directory. Any suggestion?
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803
Rep:
Quote:
Originally Posted by vatin
Any suggestion?
Check the permissions on your home directory (user and group ownership and read/write/execute permissions) and compare them to the record for your account in /etc/passwd. If you do an "ls -l" in your home directory, you'll probably see that your account name is not showing up as the owning user. You can fix this by using sudo to "chown -R youracct:yourgroup" on your home directory. Or you can edit the record in /etc/passwd to reflect the ownership you're seeing in the output of "ls -l"---so long as such a change doesn't clash with another record in the passwd file.
I assume you have checked ownership of files in your home directory and they do show your user owns them (by name, not uid). At this point I would actually shutdown and then restart so that the new system takes complete control and there is no vestige of the old in control. See if that clears up your read-only fs problem.
mount: /home: cannot remount /dev/sda3 read-write, is write-protected
Can this be a hardware issue?
According to a Stackexchange thread, one reason for a disk to become write-protected is file system corruption. You could check the kernel messages for clues (dmesg command, or if Pop OS deploys systemd, journalctl -k).
I assume you have checked ownership of files in your home directory and they do show your user owns them (by name, not uid). At this point I would actually shutdown and then restart so that the new system takes complete control and there is no vestige of the old in control. See if that clears up your read-only fs problem.
Indeed, after an installation I would reboot. If OP has not done that yet, it's time.
I have to mention that before installing popos I was having boot problem with my previous installation. The os just wouldn’t boot up. But I couldn’t remember the message. It dropped to recovery prompt every time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.