X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 20 Jul 2009 13:57:28 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: OpenSSH - sftp not working for non-Administrator users
Message-ID: <20090720115728.GD30066@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <4A6388BB.1050904@tigroup-usa.com> <4A63CD77.5090700@tigroup-usa.com> <20090720023742.GC15540@ednor.casa.cgf.cx> <4A63E12B.4020205@tigroup-usa.com> <20090720050320.GD15540@ednor.casa.cgf.cx> <4A6404C4.2030003@tigroup-usa.com> <h41laj$jvh$1@ger.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <h41laj$jvh$1@ger.gmane.org>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Jul 20 13:43, Thorsten Kampe wrote:
> * Doug Lim (Mon, 20 Jul 2009 00:46:44 -0500)
> > > The cygcheck.out file shows that the cygwin directory was in the
> > > PATH when you ran the cygcheck program. It doesn't necessarily mean
> > > that it is the path that a service sees.
> > >   
> > I added D:\cygwin\bin to the PATH via the Environment Variables button
> > on the Advanced tab in the System Properties control panel applet
> > followed by a system reboot after cygwin and openssh were installed.
> > If you're suggesting that's not sufficient for a running service to
> > see the updated path, then what would you suggest should be done
> > differently?
> 
> Please read again what cgf wrote.

Nevertheless there's something fishy.  The /bin path is added
automatically by cygrunsrv so that the service doesn't have to care for
a default $PATH by itself.  I assume it has something to do with path
permissions.  Check the ACLs.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

