Use ... > /tmp/log.txt instead of ... > log.txt to get around that error. (You can't save a log file onto a CD-ROM!)