public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* setup-x86_64 Can't Download to Mapped Drive
@ 2018-11-26 14:18 Sridhar Ayengar
  2018-11-26 14:50 ` Andrey Repin
  0 siblings, 1 reply; 4+ messages in thread
From: Sridhar Ayengar @ 2018-11-26 14:18 UTC (permalink / raw)
  To: cygwin

Hi!



I'm trying to use setup-x86_64.exe to update Cygwin.  The directory into
which Cygwin is installed is C:\cygwin.  I am trying to use a network
shared drive mapped to I: for the download directory, I:\cygwindownload.
setup-x86_64 shows a dialog box with "Directory I:\cygwindownload does not
exist, would you like me to create it?".  If I click "Yes", I get a dialog
box with "Could not create directory I:\cygwindownload, sorry.  (Is drive
full or read-only?)".  I get the same behavior even if I remove
I:\cygwindownload and have setup-x86_64.exe try to create it.



Thanks for reading.



Peace...  Sridhar



P.S.  My cygcheck.out file is too large to attach.  Let me know if you need
it, and I'll send it directly.

P.P.S.  I know it's picky, but it seems to me like the first dialog box
message is a run-on-sentence.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: setup-x86_64 Can't Download to Mapped Drive
  2018-11-26 14:18 setup-x86_64 Can't Download to Mapped Drive Sridhar Ayengar
@ 2018-11-26 14:50 ` Andrey Repin
  2018-11-26 19:12   ` L A Walsh
  2018-11-27 16:17   ` Sridhar Ayengar
  0 siblings, 2 replies; 4+ messages in thread
From: Andrey Repin @ 2018-11-26 14:50 UTC (permalink / raw)
  To: Sridhar Ayengar, cygwin

Greetings, Sridhar Ayengar!

> I'm trying to use setup-x86_64.exe to update Cygwin.  The directory into
> which Cygwin is installed is C:\cygwin.  I am trying to use a network
> shared drive mapped to I: for the download directory, I:\cygwindownload.
> setup-x86_64 shows a dialog box with "Directory I:\cygwindownload does not
> exist, would you like me to create it?".  If I click "Yes", I get a dialog
> box with "Could not create directory I:\cygwindownload, sorry.  (Is drive
> full or read-only?)".  I get the same behavior even if I remove
> I:\cygwindownload and have setup-x86_64.exe try to create it.

Get off the habit of using mapped drives. Use UNC paths directly.
But for your specific issue, the drive mapped in your user session, but you
start setup within administrative session, where the drive is not mapped.
So, back to the previous statement, get off the bad habits. Or map the disk
inside adm session.


-- 
With best regards,
Andrey Repin
Monday, November 26, 2018 17:36:29

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: setup-x86_64 Can't Download to Mapped Drive
  2018-11-26 14:50 ` Andrey Repin
@ 2018-11-26 19:12   ` L A Walsh
  2018-11-27 16:17   ` Sridhar Ayengar
  1 sibling, 0 replies; 4+ messages in thread
From: L A Walsh @ 2018-11-26 19:12 UTC (permalink / raw)
  To: cygwin



On 11/26/2018 6:38 AM, Andrey Repin wrote:
> Greetings, Sridhar Ayengar!
>> I am trying to use a network
>> shared drive mapped to I: for the download directory, I:\cygwindownload.
>> setup-x86_64 shows a dialog box with "Directory I:\cygwindownload does not
>> exist, would you like me to create it?". ..
----

> Get off the habit of using mapped drives. Use UNC paths directly.
----
	Why?  UNC drives are the linux equivalent of a local alias
of a local "mount --bind //net/dir /i/".  Would you tell linux users
to get off the habit of using mount with bind?

	I have used Cygwin since Windows_XP with my Cygwin package
cache on a mapped drive (and have it installed at C:\ with a drive
prefix of '/', so '/c' == '/':

> cd 'S:/Software/Cygwin'
/s/Software/Cygwin> 
> more setup.log.full
2018/11/02 15:32:27 Starting cygwin install, version 2.891
2018/11/02 15:32:27 User has backup/restore rights
2018/11/02 15:32:27 Current Directory: S:\Software\Cygwin
2018/11/02 15:32:27 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2018/11/02 15:32:30 Ending cygwin install
> net use S:
Local name        S:
Remote name       \\Ishtar\Share
Resource type     Disk

	I have never had a problem with it being remote.

	FWIW, my cygwin signon is in the Administrators group
as well as my local domain (hosted on linux)'s "Domain Admins"
group.

	Second point (not sure if it is important or not), my local
sys account 'Administrator' has the same mappings as my main login.


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: setup-x86_64 Can't Download to Mapped Drive
  2018-11-26 14:50 ` Andrey Repin
  2018-11-26 19:12   ` L A Walsh
@ 2018-11-27 16:17   ` Sridhar Ayengar
  1 sibling, 0 replies; 4+ messages in thread
From: Sridhar Ayengar @ 2018-11-27 16:17 UTC (permalink / raw)
  To: cygwin

I will take your advice.  Thanks.

Peace...  Sridhar

On Mon, Nov 26, 2018 at 9:50 AM Andrey Repin <anrdaemon@yandex.ru> wrote:

> Greetings, Sridhar Ayengar!
>
> > I'm trying to use setup-x86_64.exe to update Cygwin.  The directory into
> > which Cygwin is installed is C:\cygwin.  I am trying to use a network
> > shared drive mapped to I: for the download directory, I:\cygwindownload.
> > setup-x86_64 shows a dialog box with "Directory I:\cygwindownload does
> not
> > exist, would you like me to create it?".  If I click "Yes", I get a
> dialog
> > box with "Could not create directory I:\cygwindownload, sorry.  (Is drive
> > full or read-only?)".  I get the same behavior even if I remove
> > I:\cygwindownload and have setup-x86_64.exe try to create it.
>
> Get off the habit of using mapped drives. Use UNC paths directly.
> But for your specific issue, the drive mapped in your user session, but you
> start setup within administrative session, where the drive is not mapped.
> So, back to the previous statement, get off the bad habits. Or map the disk
> inside adm session.
>
>
> --
> With best regards,
> Andrey Repin
> Monday, November 26, 2018 17:36:29
>
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-27 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-26 14:18 setup-x86_64 Can't Download to Mapped Drive Sridhar Ayengar
2018-11-26 14:50 ` Andrey Repin
2018-11-26 19:12   ` L A Walsh
2018-11-27 16:17   ` Sridhar Ayengar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).