delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/10/07:35:18

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
Date: Wed, 10 Aug 2005 14:34:33 +0300
From: Michael Spector <michael AT zend DOT com>
To: cygwin AT cygwin DOT com
Subject: difference in permissions, using two SSH authentication methods: public key/password
Message-ID: <20050810113433.GA20506@mail.zend.com>
Mime-Version: 1.0
User-Agent: Mutt/1.5.8i
X-IsSubscribed: yes

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



Thanks in advance.

-- 
Best regards,
Michael

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