delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/20/07:57:55

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019