Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Error message on cp (http://www.linux-archive.org/ubuntu-user/581901-error-message-cp.html)

Knute Johnson 09-30-2011 04:00 AM

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

Craig White 09-30-2011 04:24 AM

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

Knute Johnson 09-30-2011 02:04 PM

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


All times are GMT. The time now is 07:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.