delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/13/15:53:23

X-Spam-Check-By: sourceware.org
Message-ID: <450861A0.7080003@cygwin.com>
Date: Wed, 13 Sep 2006 15:53:04 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Mount does not show Samba files
References: <4505E15F DOT 8030306 AT unix DOT telasic DOT com> <45062B47 DOT 2010804 AT cygwin DOT com> <4506D279 DOT 1070602 AT unix DOT telasic DOT com> <ee6v37$4s3$1 AT sea DOT gmane DOT org> <450704E9 DOT 3060605 AT unix DOT telasic DOT com> <450767E6 DOT 6000300 AT cygwin DOT com> <4508299D DOT 5000508 AT unix DOT telasic DOT com> <4508475B DOT 9030608 AT cygwin DOT com> <45084D81 DOT 9070600 AT unix DOT telasic DOT com>
In-Reply-To: <45084D81.9070600@unix.telasic.com>
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

Arun Biyani wrote:
> Larry Hall (Cygwin) wrote:
>> Arun Biyani wrote:
>>> Larry Hall (Cygwin) wrote:
>>>> Arun Biyani wrote:
>>>>> mwoehlke wrote:
>>>>>> Arun Biyani wrote:
>>>>>>> [download$:575] ls //goddard/y
>>>>>>> ls: //goddard/y: No such file or directory
>>>>>>> [download$:576] ls //goddard/abiyani
>>>>>>> ls: //goddard/abiyani: No such file or directory
>>>>>>> [download$:577]
>>>>>>
>>>>>> Larry Hall (Cygwin) wrote:
>>>>>>> what does 'ls /cygdrive/y' say?
>>>>>>
>>>>>> You didn't answer this, and it may be relevant. (That, or you 
>>>>>> typo'd in your previous message :-).)
>>>>>>
>>>>> I have mapped mounted drives to "/" (mount -c /).
>>>>>
>>>>> [doc$:598] ls /y
>>>>> ls: /y: No such file or directory
>>>>> [doc$:599] ls /cygdrive/y
>>>>> ls: /cygdrive/y: No such file or directory
>>>>> [doc$:600]
>>>>
>>>> Then I'd say there's a pretty good chance you don't have access to this
>>>> network share.  Does it require authentication?
>>>>
>>> I mount it using this command
>>> net use y: \\\\goddard\\abiyani $PD /USER:abiyani
>>>
>>> I can umount it. Go to "My Computer". When I click on this drive, I 
>>> cannot see the contents. Then
>>> in Cygwin, I run the above command. Cygwin still won't let me see the 
>>> contents but Windows does.
>>> Definitely looks like the mount command worked.
>>
>>
>> Right.  That looks good.  Hm, I'm not sure why you don't see anything.
>> Is it any different if you do 'ls //goddard/abiyani' without the 'net
>> use' (and Cygwin mount)?
>>
>> What does 'cacls y:' say?
>>
>> Reviewing your cygcheck output again, the only things I see "wrong" that
>> you might try are:
>>
>>   1. Upgrade your installation or at least the cygwin package.
>>
>>   2. Remove "CYGWIN=nontsec" from your environment, stop all Cygwin
>>      processes and then try starting bash again and do 'ls 
>> //goddard/abiyani'
>>      again.  It's possible there is a permissions type problem that's 
>> being
>>      incorrectly reported as a "No such..." error.  But I'm grasping a 
>> bit
>>      here.
>>
> Thx, Larry. Transcript below. I & S are network drives also. I don't see 
> Y in the
> df output but its there in "My Computer". My cygwin installation is 
> uptodate. Cygcheck
> output attached. I have not defined CYGWIN=nontsec. Where is this 
> defined anyway?

See your cygcheck output:

CYGWIN = 'nontsec'

This must be set in your environment somewhere.  Possibly this is introduced
by Altera tools Dave mentioned (thanks Dave).  If you don't know why it's set,
find it and remove it.  Alternatively, if you cannot find it for some
reason, at least unset it in your cygwin.bat file (assuming you start Cygwin
that way).  This is a cheap hack though.  You're better off removing the
setting for real.

Your cygcheck says you have cygwin package version 1.5.19-4.  The current
version is 1.5.21-2.

I think you're getting a conflicts between Altera and Cygwin.  Removing Altera
is likely not the solution to the problem you see but it will avoid other/
future problems.  The solution to your current problem is to regenerate your
passwd/group files, as Dave mentioned.  At least this should work if your
user and the resource available are in the same domain.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (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