delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/10/11:13:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20050810111020.03d44d20@pop.prospeed.net>
Date: Wed, 10 Aug 2005 11:12:55 -0400
To: Michael Spector <michael AT zend DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: difference in permissions, using two SSH authentication methods: public key/password
In-Reply-To: <20050810113433.GA20506@mail.zend.com>
References: <20050810113433 DOT GA20506 AT mail DOT zend DOT com>
Mime-Version: 1.0

At 07:34 AM 8/10/2005, you wrote:
>Hi,
>
>I'm encountering the following issue:
>
>If I try to connect to my Windows box via SSH, using password I get the following:
>
>michael AT gibraltar [~]--> ssh packaging AT 10 DOT 1 DOT 6 DOT 28 -o "PubkeyAuthentication=no" touch /usr/zlocal/packaging/new
>packaging AT 10 DOT 1 DOT 6 DOT 28's password:
>
>(Command was successful)
>
>When I try to do the same thing, using public key authentication method, I get:
>
>michael AT gibraltar [~]--> ssh packaging AT 10 DOT 1 DOT 6 DOT 28 -o "PubkeyAuthentication=yes" touch /usr/zlocal/packaging/new
>touch: cannot touch `/usr/zlocal/packaging/new': Permission denied
>
>
>Information:
>
>$ uname -a
>CYGWIN_NT-5.0 packsys-w2k 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin
>
>$ ssh -v
>OpenSSH_4.1p1, OpenSSL 0.9.8 05 Jul 2005
>
>$ id
>uid=12529(packaging) gid=10545(mkgroup-l-d) groups=0(root),544(Administrators),545(Users),10545(mkgroup-l-d)
>
>$ ls -l /usr/zlocal/| grep packaging
>drwxr-xr-x  1 packaging mkgroup-l-d 0 Jan  1  1970 packaging
>
>/usr/zlocal/packaging is a mount to h: (which is mounted to Samba server).


Ah, thank the lords of Cygwin for the hallowed FAQ!

Why don't my services work (or access network shares)? 
<http://cygwin.com/faq/faq-nochunks.html#faq.using.services>

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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

- Raw text -


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