delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/05/13:08:13

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Mailer: YahooMailRC/975.45 YahooMailWebService/0.7.199
Date: Thu, 5 Jun 2008 17:07:35 +0000 (GMT)
From: uday <uday_p AT yahoo DOT co DOT uk>
Subject: Re: How to correctly setup passwd and group to access mounted drives?
To: Spiro Trikaliotis <an-cygwin AT spiro DOT trikaliotis DOT net>, cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <454997.5579.qm@web25008.mail.ukl.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Hi,

Responses inline at #uday

----- Original Message ----
> From: Spiro Trikaliotis <an-cygwin AT spiro DOT trikaliotis DOT net>
> To: cygwin AT cygwin DOT com
> Sent: Thursday, June 5, 2008 10:16:59 PM
> Subject: Re: How to correctly setup passwd and group to access mounted  drives?
> 
> Hello,
> 
> * On Thu, Jun 05, 2008 at 12:59:37PM +0000 uday wrote:
> 
> > Problem in short: 
> > ================= 
> > 
> > I have a folder on a unix server mapped as a windows drive z(y is another 
> drive from 
> > another unix server). 
> > I am able to browse through the folders from windows explorer and read/write 
> there. 
> > 
> > I am running into an issue when I access those mapped network drives from 
> cygwin. 
> > When I try I get the following error message " 
> > uday_p AT uday-xp /cygdrive 
> > $ ls -l 
> > total 4 
> > drwxrwxr-x+ 30 ???????? SYSTEM 0 Jun 3 09:35 c 
> > drwxr-xr-x 37 uday_p Domain Users 1536 Mar 12 23:34 y 
> > drwxr-xr-x 36 uday_p Domain Users 1536 May 31 23:58 z 
> > 
> > uday_p AT uday-xp /cygdrive 
> > $ ls y 
> > ls: reading directory y: Permission denied 
> 
> I know this behaviour in case when you log on via ssh, and you are using
> the passwordless authentication (i.e., public key authentication). In
> this case, Windows does not know about your passwords, and you get the
> permission denied. This is already known - at least, it was when I
> investigated this some years before.
> 
> Unfortunately, running "net use \\\\myserver\\myshare /user:myuser" to
> enter the password does not work either when you connect via ssh.
> 
> Workaround: Use passwords instead of public keys.
> 
> So: Are you using these commands "directly" from bash, or are you
> remotely connected via ssh?
> 

#uday
I have not used ssh or passwords. In this case, they are not needed either. Here is how I have to setup

I have my CVS repository on a unix server that I have to access from cygwin.
I map my private branch as a windows mapped drive (from windows explorer Tools->Map Network Drive...).
This mapped drive shows up as a new drive (in this case "y" and "z").
I am able to browse and read/write into these mapped drives (they do get reflected on unix).

However,
I am not even able to read those folders through cygwin which is vital
because my Intel compiler is usable only through that option.
I am able to navigate the directories through cygwin, but read and write fail.

Thanks
Uday

> Best regards,
> Spiro.
> 
> -- 
> Spiro R. Trikaliotis                              http://opencbm.sf.net/
> http://www.trikaliotis.net/                    http://www.viceteam.org/
> 
> --
> 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/



      

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