On Mon, 29 Dec 2003, Keith Gibbons, StarDate Computers. wrote:
Hello all and Merry Christmas, I have done a stupid thing and issued a chmod +x * -R command while in the / directory. This is on an internal server, not connected to the 'net. I had thought I was in my /public directory but wasn't. The command stopped with an error when it got to the /proc directory but by then it was too late. What are the consequences here and what can I do to rectify them?
All help appreciated
Keith Gibbons
This is why my backup strategy starts with ls -al / > /backup/listoffiles rpm -qa > /backup/listofpackages rpm -qia > /backup/descriptionofpackages (and other commands like this, like fdisk -l to dump the partitions) It makes recovery from this kind of thing much easier to script. In fact, once I blew away my RPM database and was able to rebuild the db from the listofpackages file by specifying the RPM option to just update the DB and not actually install the package. -- DDDD David Kramer david@thekramers.net http://thekramers.net DK KD DKK D "LINUX is obsolete" DK KD - Andrew S. Tanenbaum, creator of Minix - Jan 29, 1992 DDDD