Re: Migrating /home from too small /dev/hda partition
Jean Delvare <[email protected]> Mon, 11 Aug 2003 10:00:40 +0200
| Newsgroups | gmane.linux.hardware.sony |
|---|---|
| Message-ID | <[email protected]> |
> I rebooted. My graphical login choked, however, > because /home/dan didn't have write access, presumably > because I was slingin' dirs as root. So, I had to > chmod -R /home. (Without the -R recursive switch, kde > still didn't have write access, and choked in the same > fashion.) What was needed (and still is) was most likely a "chown -R". If I understood what you did correctly, your home now fully belongs to root, with write access granted to everybody. Maybe you don't care because you're the only user, still this is awfully insecure. If you still have the copy of your home in /opt/home, I'd recommend you wipe /hope/dan completely, use "cp -a" to copy to it again, and do a proper "chown dan:users -R /home/dan" (or dan:dan, depends which group you belong to). You'll probably save yourself from some problems that would occur later. -- Jean Delvare http://www.ensicaen.ismra.fr/~delvare/