X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,TW_RW,TW_WX X-Spam-Check-By: sourceware.org Date: Fri, 3 Sep 2010 13:50:29 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <155330114.20100903135029@mtu-net.ru> To: Jeremy Bopp , cygwin AT cygwin DOT com Subject: Re: How to get a script file to use bash and ssh In-Reply-To: <4C800C26.1090907@bopp.net> References: <29608117 DOT post AT talk DOT nabble DOT com> <4C7FFCCE DOT 7040207 AT budcat DOT com> <4C800078 DOT 9040101 AT bopp DOT net> <4C800C26 DOT 1090907 AT bopp DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam Greetings, Jeremy Bopp! > Assuming, of course, that the necessary entry in /etc/passwd is set > correctly. Even if not. Or not set. $ grep $USER /etc/passwd [...]:/cygdrive/c/home/Daemon:/bin/bash $ ls -l /cygdrive/c/home/Daemon ls: cannot access /cygdrive/c/home/Daemon: No such file or directory $ set | grep HOME HOME=/c/home/Daemon HOMEDRIVE=C: HOMEPATH=/home/Daemon $ ls -l $HOME total 8015 drwxr-xr-x 1 Daemon Отсутствует 0 2010-08-29 19:21 Application Data ... > The OP sounds pretty green and may have a different idea of > his home directory's location than Cygwin deduces, so a little extra > hand holding may be in order. :-) May be... but it seems, that cygwin deduction is pretty accurate. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 03.09.2010, <13:41> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple