FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 09-30-2011, 04:00 AM
Knute Johnson
 
Default Error message on cp

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.

Thanks,

--

Knute Johnson

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-30-2011, 04:24 AM
Craig White
 
Default Error message on cp

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


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-30-2011, 02:04 PM
Knute Johnson
 
Default Error message on cp

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

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 08:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org