Cannot copy files with Konqueror, nor via CLI the 'usual way'.

Nils Kassube kassube at gmx.net
Thu Jan 1 08:56:58 UTC 2009


Dotan Cohen wrote:
> On Kubuntu 8.10, when I try to copy files via Konqueror to my usb
> storage device, I get an "unable to write" error. The issue is not
> permissions, so I tried to copy from the CLI and got this strange
> result:
>
> $ cp file.tar.gz /media/disk/
> cp: cannot create regular file `/media/disk/file.tar.gz': Invalid
> argument $ cp file.tar.gz /media/disk/beer.tar.gz
> $
>
> Why can't I copy by just specifying the target directory? Why must I
> specify the file as well?

I suppose you used a FAT file system for your USB storage device and your 
original file wasn't really file.tar.gz but something different and it 
had an illegal character in it. Some characters are illegal for FAT (and 
IIRC also for NTFS) due to compatibility with MS-DOS. When you 
successfully copied the file you probably used a legal file name.


Nils




More information about the ubuntu-users mailing list