delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/18/13:12:56

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:date:subject:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=Jpn
8g3o8i0jmvtuaYQf+PsYSHgeiaadjTZDGQrg5ik5Wp694M4gMCivhND3VY44O80O
laek8xbYPMsruNuzLwSshHRfZcP/x/2gA2cMZ9+cQe4C8oW8VcHR4J4e2xGLpDpT
2+bRMXhn2LURrSKiIjkXNq/rnIxbr+7ERysM80Gw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:date:subject:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=Ba5vwRrt9
5ZoQi5nDX9QNy3QlA4=; b=T7D0EQCQW+q+6a1JB91NyWfMRfFoFgB68kjr3Ljs+
Sikux1HxZ/Z4Yy/xZ8hNY5dU/lq+CG1eYmxXQkGIvAfzznfechsQpvWqiJ+3T4az
OhGhFHKbEtr4kkG4uGtDvTARI919C7lJRzM1h7ZYpp8f75siwGAYHwHoxTCOmXSA
mU=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.4 required=5.0 tests=AWL,BAYES_80,RDNS_NONE,TBC autolearn=no version=3.3.2
X-HELO: mxout34.expurgate.net
From: "DEWI - N. Zacharias" <N DOT Zacharias AT dewi DOT de>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Mon, 18 Nov 2013 19:08:56 +0100
Subject: can not mount Windows shares correctly
Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E60C2B6951F1@server03.company.internal>
MIME-Version: 1.0
X-purgate-relay-fid: relay-3cc1a3
X-purgate-sourceid: 1ViTFq-0003E6-Ud
X-purgate-Ad: Checked for spam and viruses by eXpurgate(R), see www.eleven.de for details.
X-purgate-ID: 151534::1384798139-0000226F-07CE70F7/0-0/0-0
X-purgate: clean
X-purgate-type: clean
X-purgate-relay-bid: relay-b62ce8
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id rAIICr7u030756

Hi all,

Situation : A windows shared NAS to which I can connect using

net use \\\\192.168.109.252\\storage /user:PC06\\user1 passwd

but then it is not possible to mount it to lets say /cygdrive/b

mount   \\\\192.168.109.252\\storage /cygdrive/b

mount: warning - /cygdrive/s does not exist.
mount: defaulting to 'notexec' mount option for speed since native path
       references a remote share.  Use '-f' option to override.

But

$ mount
//192.168.109.252/storage on /cygdrive/b type smbfs (binary,notexec,noacl,u=
ser)
C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto)
B: on /cygdrive/b type ntfs (binary,posix=3D0,user,noumount,auto)
C: on /cygdrive/c type ntfs (binary,posix=3D0,user,noumount,auto)
D: on /cygdrive/d type ntfs (binary,posix=3D0,user,noumount,auto)
E: on /cygdrive/e type vfat (binary,posix=3D0,user,noumount,auto)
F: on /cygdrive/f type ntfs (binary,posix=3D0,user,noumount,auto)
H: on /cygdrive/h type nwfs (binary,posix=3D0,user,noumount,auto)

And:

$ ls -al /cygdrive/b/
ls: cannot access /cygdrive/b/: No such file or directory

If I use

net use b: \\\\192.168.109.252\\storage /user:PC06\\user1 passwd The command completed successfully.

The result is slightly different:


$ mount
//192.168.109.252/storage on /cygdrive/b type smbfs (binary,notexec,noacl,u=
ser)
C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto)
B: on /cygdrive/b type ntfs (binary,posix=3D0,user,noumount,auto)
C: on /cygdrive/c type ntfs (binary,posix=3D0,user,noumount,auto)
D: on /cygdrive/d type ntfs (binary,posix=3D0,user,noumount,auto)
E: on /cygdrive/e type vfat (binary,posix=3D0,user,noumount,auto)
F: on /cygdrive/f type ntfs (binary,posix=3D0,user,noumount,auto)
H: on /cygdrive/h type nwfs (binary,posix=3D0,user,noumount,auto)
S: on /cygdrive/s type smbfs (binary,posix=3D0,user,noumount,auto)

ls -al b:/
ls: cannot access b:/..: No such file or directory total 0
drwxr-xr-x 1 user1 None 0 Dec  5  2012 .
d????????? ? ?             ?    ?            ? ..
drwxr-xr-x 1 user1 None 0 Dec  5  2012 admin drwxr-xr-x 1 user1 None 0 Nov 18 17:50 global
drwxr-xr-x 1 user1 None 0 Dec  5  2012 man drwxr-xr-x 1 user1 None 0 Dec  5  2012 WTI

ls -al /cygdrive/b
total 0
drwxrwxrwx 1 ????????      ???????? 0 Dec  5  2012 .
dr-xr-xr-x 1 user1 None     0 Nov 18 18:06 ..
drwxr-x--- 1 ????????      ???????? 0 Dec  5  2012 admin
drwxrwxrwx 1 ????????      ???????? 0 Nov 18 17:50 global
drwxr-x--- 1 ????????      ???????? 0 Dec  5  2012 man
drwxr-x--- 1 ????????      ???????? 0 Dec  5  2012 WTI

What is really strange is that the access via b:/ yields different access r= ights than /cygdrive/b

I would be really helpful to find a way to use this drive as /cygdrive/b/  = with the same access rights as for b:/

Also any other idea how to use this windows shares are highly appreciated !

'Thanks
Norbert

--------------------------------------------------------------------------
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany

Tel.: +49 4421 4808 876

Fax: +49 4421 4808 843

Email: N DOT Zacharias AT dewi DOT de
Home: http://www.dewi.de
a UL company

DEWI GmbH has been acquired by UL (Underwriters Laboratories) and now operates as a UL Company.
DEWI GmbH
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly, Michael A. Saltzman, Sajeev Jesudas, Gitte Schjøtz
P Please consider the environment before printing this email.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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