This is the mail archive of the
mailing list for the Cygwin project.
Re: Setup's local package directory on network share
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: "Aaron Digulla" <digulla at hepe dot com>, cygwin at cygwin dot com
- Date: Thu, 2 Nov 2017 18:14:20 +0300
- Subject: Re: Setup's local package directory on network share
- Authentication-results: sourceware.org; auth=none
- Authentication-results: smtp2p.mail.yandex.net; dkim=pass email@example.com
- References: <578f-59fb2300-23-38cb1240@198678207>
- Reply-to: cygwin at cygwin dot com
Greetings, Aaron Digulla!
> I would like to share the local package cache with other people.
> When browse folders in the respective page in setup.exe, no network shares are visible.
> When I manually enter the path (using a mapped drive), I get a dialog:
> "Directory S:\cygwin\Downloads does not exist, would you like me to create
> it?" which is wrong since the folder exists.
No, it isn't wrong, since you are using mapped drive, which may not exist in a
different user session.
There's an easy solution, though: stop using mapped drives. You should have
been, for 17 years now.
> When I click "yes", I get an error "Couldn't create directory. Is drive full or read-only?"
> I can create a folder (and delete it) from Explorer, so it's not a Windows permission problem.
> What is the problem here? I searched the documentation and it mentions a
> couple of problems with network shares and Windows authentication but that when Cygwin is already running.
Store setup.exe on the same network share and use UNC path to access it.
Then "other people" could use both a fresh package cache and a fresh setup.exe
You can even restrict write access to the share, if desired, then "other
people" could use it to install from downloaded archives, and selected
administrators with write access could refresh package archive.
With best regards,
Thursday, November 2, 2017 18:10:02
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple