X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 8 Jan 2008 18:01:46 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Neil Aggarwal <neil@JAMMConsulting.com>
cc: cygwin@cygwin.com
Subject: RE: SFTP error 128
In-Reply-To: <000901c85235$687d3700$0502a8c0@neilhp>
Message-ID: <Pine.GSO.4.63.0801081758580.8532@access1.cims.nyu.edu>
References: <000101c84588$43006fb0$0502a8c0@neilhp> <000001c84706$a16fe560$0502a8c0@neilhp>    <BAY113-DAV13031E2E7F96077BAC94C7F55A0@phx.gbl> <000201c848b9$6b779d90$0502a8c0@neilhp>    <BAY113-DAV12AFEA1E64276B486376CEF5540@phx.gbl> <000301c84901$d4405540$0502a8c0@neilhp>   <Pine.GSO.4.63.0801021340500.27009@access1.cims.nyu.edu>   <000301c84efb$9bd0a840$0502a8c0@neilhp> <Pine.GSO.4.63.0801041436140.4014@access1.cims.nyu.edu>  <000901c85235$687d3700$0502a8c0@neilhp>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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 Tue, 8 Jan 2008, Neil Aggarwal wrote:

> Igor:
>
> > See if
> > <http://www.derkeiler.com/Newsgroups/comp.security.ssh/2003-06
> > /0117.html>
> > is of any help.
>
> I logged in as the Administrator, ran the cygwin shell,
> and executed these commands:
> chmod 755 /
> chmod -R 755 /usr
>
> But, I still get error 128 from a domain user account.
> Is there a specific command you want me to run to try
> to set the user permissions?

Well, that posting was referring to permissions on *Windows* directories.
Cygwin isn't standalone -- to work, it needs the standard Windows DLLs
like kernel32.dll, winsock stuff, etc.  I'm guessing your C:\Windows
directory is accessible to local users but not domain users.

> > Also, is the sftp subsystem enabled in /etc/sshd_config?
>
> The /etc/sshd_config has this line:
> Subsystem       sftp    /usr/sbin/sftp-server
>
> I am able to use sftp with the Administrator account,
> just not with a domain user.
> Any other ideas?

Try to follow through on the permission idea.  The ability to use sftp as
another local user (not Administrator) would support this guess.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it." -- Rabbi Hillel

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

