This is the mail archive of the
mailing list for the Cygwin project.
Re: Question on nodosfilewarning
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 26 Dec 2009 19:06:56 -0500
- Subject: Re: Question on nodosfilewarning
- References: <20091226235845.DC3FA3B0003@cgf.cx>
- Reply-to: cygwin at cygwin dot com
On Sun, Dec 27, 2009 at 12:58:33AM +0100, Jan Alphenaar wrote:
>Apparently it is not my week regarding environment variables. Here is
>another more simpler question.
>I have set the cygwin environment variable to "nodosfilewarning" as can be
>seen on the screendump below, just to make sure, it is done in both upper
>and lower case.
>If I execute the command "rsync -rlt -v -e "ssh -F 'C:\Test\Ssh.conf'" .
>user@machine:/Test" I get the warning I know all too well lately. It is
>probably because ssh is piped to rsync, but I am not sure about that.
>Does anyone know how to get rid of the message ?
>Any help is appreciated.
>==== BEGIN SCREENDUMP ====
>C:\Test>rsync -rlt -v -e "ssh -F 'C:\Test\Ssh.conf'" . user@machine:/Test
> MS-DOS style path detected: C:\Test\Ssh.conf
> Preferred POSIX equivalent is: /cygdrive/c/Test/Ssh.conf
> CYGWIN environment variable option "nodosfilewarning" turns off this
> Consult the user's guide for more details about POSIX paths:
>sending incremental file list
>sent 540 bytes received 15 bytes 1110.00 bytes/sec
>total size is 6814258 speedup is 12277.94
Apparently rsync is resetting some environment variables. You need
to somehow make sure that CYGWIN is set in the environment in which
ssh is being run.
Either that or just use /cygdrive/c .
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple