X-Spam-Check-By: sourceware.org Date: Tue, 9 May 2006 01:14:36 -0700 From: clayne AT anodized DOT com To: cygwin AT cygwin DOT com Subject: Re: /usr/bin/install: accessing `//filesrv/chj//.bashrc': Permission denied Message-ID: <20060509081436.GH18330@ns1.anodized.com> References: <5460e3330605072316j36598c76g40238223a9022fc6 AT mail DOT gmail DOT com> <5460e3330605090011h56a440dw338108ecea410c0d AT mail DOT gmail DOT com> <5460e3330605090044u40134e1ek864a4b810c0e9d1e AT mail DOT gmail DOT com> <1d3a88250605090102l316a12e8l412f023d6319624a AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d3a88250605090102l316a12e8l412f023d6319624a@mail.gmail.com> User-Agent: Mutt/1.5.11 X-Assp-Spam-Prob: 0.00000 X-Assp-Whitelisted: Yes X-Assp-Envelope-From: clayne AT ns1 DOT anodized DOT com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 Don't try to get shares working like that through sshd. You'll be missing hair afterwards. Specify the share as a mount point with mount. And then add your .bashrc: if ! ls /mount_point/. 2>&1 >/dev/null; then /c/WINDOWS/system32/net USE /USER:username '\\share' password fi Yep, about as secure as you can chmod it, but that's life with windows. -cl On Tue, May 09, 2006 at 10:02:03AM +0200, Lloeki wrote: > > > >so I guess this is really about shares... > > > > It's not really about shares, it's more about the user sshd runs > under, and which happens to be sent to the share auth system. > > Lloeki -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/