if you give compressdoc a bad man page directory name, it recursively compresses (and chmod's) the files in the current working directory. no, i wasn't in / at the time ... B-)
here is my (minimally tested) workaround: --- /usr/sbin/compressdoc.old 2007-02-18 19:38:40.000000000 -0800 +++ /usr/sbin/compressdoc 2007-03-01 17:57:53.000000000 -0800 @@ -330,12 +330,23 @@ # I know MAN_DIR has only absolute path names # I need to take into account the localized man, so I'm going recursive for DIR in $MAN_DIR; do + if [ ! -d "$DIR" ]; then + echo "$DIR: Not a directory" + continue + fi MEM_DIR=`pwd` cd "$DIR" for FILE in *; do -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page