public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Installing new cygwin programs, writes over /usr/local/bin link
@ 2013-10-15 21:57 cygwin
  2013-10-16 11:27 ` Robert Klemme
  2013-10-16 11:47 ` Corinna Vinschen
  0 siblings, 2 replies; 4+ messages in thread
From: cygwin @ 2013-10-15 21:57 UTC (permalink / raw)
  To: cygwin

Is there any reason why each time a new cygwin program is
installed/updated, the installer overwrites my /usr/local/bin link?

I symlink /usr/local/bin to another location and it gets overwritten
each time.

Is there any way to avoid such behavior?

--
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: Installing new cygwin programs, writes over /usr/local/bin link
  2013-10-15 21:57 Installing new cygwin programs, writes over /usr/local/bin link cygwin
@ 2013-10-16 11:27 ` Robert Klemme
  2013-10-16 11:47 ` Corinna Vinschen
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Klemme @ 2013-10-16 11:27 UTC (permalink / raw)
  To: cygwin

On Tue, Oct 15, 2013 at 11:56 PM,  wrote:
> Is there any reason why each time a new cygwin program is
> installed/updated, the installer overwrites my /usr/local/bin link?
>
> I symlink /usr/local/bin to another location and it gets overwritten
> each time.
>
> Is there any way to avoid such behavior?

You could mount that other location instead of symlinking.

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

--
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: Installing new cygwin programs, writes over /usr/local/bin link
  2013-10-15 21:57 Installing new cygwin programs, writes over /usr/local/bin link cygwin
  2013-10-16 11:27 ` Robert Klemme
@ 2013-10-16 11:47 ` Corinna Vinschen
  2013-10-16 15:41   ` cygwin
  1 sibling, 1 reply; 4+ messages in thread
From: Corinna Vinschen @ 2013-10-16 11:47 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

On Oct 15 17:56, ANONYMOUS wrote:
> Is there any reason why each time a new cygwin program is
> installed/updated, the installer overwrites my /usr/local/bin link?
> 
> I symlink /usr/local/bin to another location and it gets overwritten
> each time.
> 
> Is there any way to avoid such behavior?

Not for the time being.  Rather than creating a symlink, create a
mount point in /etc/fstab or /etc/fstab.d/$USER:

  C:/your/own/local/bin /usr/local/bin xxx binary 0 0


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: Installing new cygwin programs, writes over /usr/local/bin link
  2013-10-16 11:47 ` Corinna Vinschen
@ 2013-10-16 15:41   ` cygwin
  0 siblings, 0 replies; 4+ messages in thread
From: cygwin @ 2013-10-16 15:41 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote at about 13:47:46 +0200 on Wednesday, October 16, 2013:
 > On Oct 15 17:56, ANONYMOUS wrote:
 > > Is there any reason why each time a new cygwin program is
 > > installed/updated, the installer overwrites my /usr/local/bin link?
 > > 
 > > I symlink /usr/local/bin to another location and it gets overwritten
 > > each time.
 > > 
 > > Is there any way to avoid such behavior?
 > 
 > Not for the time being.  Rather than creating a symlink, create a
 > mount point in /etc/fstab or /etc/fstab.d/$USER:
 > 
 >   C:/your/own/local/bin /usr/local/bin xxx binary 0 0
 
Thanks Corinna...
Just a follow-up question.
I have found that the fstab.d mounts don't automount. Is that by
design? Or is there some way to turn on automounting. For now I need
to run mount -a manually (or I guess I could put in my .bash_profile)

--
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:[~2013-10-16 15:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-15 21:57 Installing new cygwin programs, writes over /usr/local/bin link cygwin
2013-10-16 11:27 ` Robert Klemme
2013-10-16 11:47 ` Corinna Vinschen
2013-10-16 15:41   ` cygwin

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