Re: Security violation copying files from UNIX to win2000

From: Nico Kadel-Garcia (nkadel@bellatlantic.net)
Date: 10/07/02


From: "Nico Kadel-Garcia" <nkadel@bellatlantic.net>
Date: Sun, 06 Oct 2002 22:44:29 GMT


"Carl" <noroominhead@hotmail.com> wrote in message
news:762023f8.0210061351.66f12aaa@posting.google.com...
> I am trying to copy some files from a UNIX machine to win 2000. Here
> is the command:
>
> pscp -unsafe -batch -p -r -pw xxxx xxxx@xxxx.com:* Site/
>
> And this works fine up until I get to .htaccess files, and get the
> following error:
>
> Fatal: security violation: remote host attempted to write to a '.' or
> '..' path!
>
> What is the problem?
>
> Carl

Windows doesn't deal well with '.*' files. And try it with OpenSSH as part
of CygWin, maybe even with rsync on top of ssh.



Relevant Pages

  • Re: [Cygwin <-> Debian]: rysnc hangs when backing up multiple /cygdrive/* dirs
    ... >> I am not able to see what could be going wrong with my rsync method. ... The following command hangs before ... >> multiple dirs from a cygwin box, if you this kind of thing at all? ...
    (Debian-User)
  • RE: redhat-list digest, Vol 1 #8511 - 29 msgs
    ... To subscribe or unsubscribe via the World Wide Web, ... Command running on terminal at some intervals (Reuben D. ... Re: bash shell ... rsync with public/private keys/no passwords ...
    (RedHat)
  • RE: redhat-list digest, Vol 1 #8511 - 29 msgs
    ... To subscribe or unsubscribe via the World Wide Web, ... Command running on terminal at some intervals (Reuben D. ... Re: bash shell ... rsync with public/private keys/no passwords ...
    (RedHat)
  • Re: sending selected files to remote machine (NOT an incremental backup!)
    ... I DON'T mean an incremental backup! ... A single command can combine multiple commands into a single executable ... > Why not use rsync? ...
    (comp.os.linux.misc)
  • Re: The most notorious command
    ... I didn't say a 'nix OS, I said a 'nix *derivative shell*. ... Do you know what OS CygWin would be running on? ... Is a properly configured Windoze box any more or less "fragile" than a properly configured 'nix box (relative to this command)? ... Any modern OS can be configured to allow or disallow that command and to behave differently on various files based on individual access rights. ...
    (talk.origins)