You should make sure that both OS installations at least use the same uid and gid (please go and Google this!) for the user account in their /etc/passwd or else you are asking for trouble. Sharing /home is not something I'd suggest to new users. There are many other things too you need to take care of, e.g. package versions, config file compatibility, and so on.Izecson wrote: I think this happened because I change the file permission of my Mint's /home folder when I was running PCLinuxOS.
Never ever do that! Never execute a command recursively (-R) if you don't know precisely what it will do to your system!Izecson wrote: I type this in PCLinuxOS:Code: Select all
chmod 777 -R /mnt/mintHOME
Good question. You basically gave certain permissions (execute bit on everything !??) to things that are not supposed to be touched in this way Why oh why did you do this ??? This is stupid, sorry to say so.Izecson wrote: How do fix this?
- Boot into Mint
- Login as your user
- become root: sudo su -
- go into /home: cd /home
- type this sequence of commands precisely as I write them here --- you are working as "root" now, there is zero tolerance for mistakes!!
chown -R yourusername:yourusergroup youruserfolder
=> this could be the all the same, e.g.:
chown -R eric:eric eric
Then let's correct the permissions (you should still be in /home):
find ./yourusername -type d -exec chmod 755 {} \;
find ./yourusername -type f -exec chmod 644 {} \;
If this doesn't work you're on your own. What you did was very stupid.