Nasty bug in 'uucp'

Bob Daniel rad at genco.bungi.com
Sat Feb 2 13:50:48 AEST 1991


We develop in a multi UNIX machine environment with different flavors of UNIX.
We heavily use uucp between the systems so that the program can be tested on
the other flavors of UNIX.

A few days ago, one of the  developers had a tragic experience with
uucp.  Instead of 'uucp'ing the file to another machine, he accidently used
his own machine name.  Guess what happens if you uucp a file to your own 
machine to the same directory?  It clears that file out!! Zero bytes!!  This
guy lost his entire directory (although every thing before that day was 
restred from backup).

He lost a whole day of work :(

The moral of the story... 
Treat 'uucp' like 'rm -r'.  It can do some major damage if you don't use it
correctly.  Also, do your backups daily :)



More information about the Comp.unix.questions mailing list