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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=QJZ9BL/mG4zxVBD6 TxeWby0y+c8ueZv7usFngAobmEh3KBN/d+Fxo6TTFS7CZoz1b6mJiKBKIojtIYlW rxLJcv0DMYMIvJAUbwohA9iHrg/Ux/d8k3w29k55j2cs2JI5XGo/qBU80e+iDdrG ymNjyLifWhocxUqxncfytBLD+yc= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=whsern+7UbqrkwldYhEmi5 bekHo=; b=e1C3ferMndGHhVLQrIw7krxzuQK4M5LgutkA0PdMsXvdPkXy9gnQzp aIKCS7iKQT8k2GlVjbMQ96lIh4GHmLfQ8dnIAEDE/Ru8R4/LKZApd8phxgIbomfj C/lv0Y5X38pBk6M9aMidk5o93RNiwDD5gS1V5CF7Tyai6qma4hx5E= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Tue, 22 Sep 2015 11:28:54 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1593866962.20150922112854@yandex.ru> To: Brian Inglis , cygwin AT cygwin DOT com Subject: Re: Error accessing mapped drive >2TB? In-Reply-To: References: <712A87EA-64C7-4033-BE7F-39C8C8D527EB AT etr-usa DOT com> <110723294 DOT 20150915064630 AT yandex DOT ru> <0C37A612-5E78-48A8-9503-F3A34129BC7B AT etr-usa DOT com> <1536508568 DOT 20150921085631 AT yandex DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Brian Inglis! >> > Windows Explorer drive mappings are not visible from cmd or mintty/bash >> > windows, but "net use x: \\live.sysinternals.com\tools" mappings are visible >> > from separate cmd and mintty/bash windows as drive X: or /cygdrive/x, but >> > x:\ is not accessible from Windows Explorer. >> >> Are you sure you're looking from the same user session? > Same user session, different (elevated) cmd and mintty/bash console sessions. Elevated process uses different user session. Network mapped drive letters are session-bound. >> If you start mintty/cmd elevated, you won't see drives mapped in Explorer >> (non-elevated). > Kind of figures on Windows - I would expect elevated sessions to be able to > see mappings on non-elevated sessions. That's not how it works. And is a part of reason why using mapped drives is discouraged. For 15 years now, at least. >> For me, everything works as expected. Drives mapped in batch file on system >> start visible in Explorer without an issue. > Found that when I started using W7 console sessions, net utilities, both MS > and Cygwin nslookup, ping, tracert, etc. could not see the network unless > they were run in elevated sessions, so set up all console sessions to start > elevated. Was that something that happened on early releases and was fixed > later, or some incorrect assumption or setting on my part years ago? The latter. If your logon script attempts to mount (net use) drive letters, but Explorer don't see them, double check that it did indeed mounted them. I.e. insert "pause" before the end of the script and check for any errors after its execution. Another possible solution (Cygwin-specific) is to use fstab bind mount for network paths. Third one, and that I've gone with myself is to use Vista+ NTFS functionality to symlink network paths to local FS. Just remember to use FQDN host names or IPs when doing so, else you could intermittently lose connectivity when using VPN connections to other networks with different domain search suffixes. -- With best regards, Andrey Repin Tuesday, September 22, 2015 11:20:20 Sorry for my terrible english... -- 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