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]

difference in permissions, using two SSH authentication methods: public key/password


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@gibraltar [~]--> ssh packaging@10.1.6.28 -o "PubkeyAuthentication=no" touch /usr/zlocal/packaging/new
packaging@10.1.6.28's password:

(Command was successful)

When I try to do the same thing, using public key authentication method, I get:

michael@gibraltar [~]--> ssh packaging@10.1.6.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/


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