Classic Gnubie accident
I'm embarrassed to admit this, but after using various flavours of debian for over a year 've managed to lock myself out of my /home directory. When I log in I get the message - your home directory .dmrc file has the wrong permissions - permissions should be set to 664
(its actually the whole /home directory that has the wrong permissions)
I have tried logging in to a failsafe terminal and fixing this by using chown username /home/anthony/.dmrc
the file now has these permissions:
-rw-rw-r-- 1 anthony anthony 26 2006-09-21 18:56 /home/anthony/.dmrc
but the login message is the same.
I am reading the debian manual on file permissions, but I don't see an obvious way to reset this especially since I only have access to this file as root.
Any help much appreciated