This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: SFTP error 128


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]