Error message on cp

Knute Johnson ubuntu at knutejohnson.com
Fri Sep 30 14:04:40 UTC 2011


On 9/29/2011 9:24 PM, Craig White wrote:
> On Thu, 2011-09-29 at 21:00 -0700, Knute Johnson wrote:
>> Anybody got any idea why I'm getting this error in my log?
>>
>> /etc/cron.daily/system-backup:
>> cp: cannot create regular file
>> `/media/usbdisk/home/knute/.cpan/build/Mail-Sendmail-0.79-LupB80/blib/man3/Mail::Sendmail.3pm':
>> Invalid argument
>>
>> The command that generates it is
>>
>> cp -r /home/knute /someplace
>>
>> and is run from a cron.daily script.
> ----
> seems like you can't copy a file with :: because the target filesystem
> doesn't allow one/some of the characters in the filename. Not untypical
> of vfat filesystems.
>
> Craig
>
>

Thanks Craig, that's it.  I'm copying to my USB backup drive and it is 
formatted FAT.

-- 

Knute Johnson




More information about the ubuntu-users mailing list