delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/14/14:11:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 14 Oct 2003 14:11:08 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Daniel Edwards <accidentalgurner AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: relocatable cygwin installation
In-Reply-To: <Law9-OE56mLAztxc1o80000008c@hotmail.com>
Message-ID: <Pine.GSO.4.56.0310141407060.20462@slinky.cs.nyu.edu>
References: <Law9-OE56mLAztxc1o80000008c AT hotmail DOT com>
Importance: Normal
MIME-Version: 1.0

On Tue, 14 Oct 2003, Daniel Edwards wrote:

> hello,
>
> I have an installation of cygwin which for both convenice and consistency
> reasons should be shared between multiple users on many machines.  This is
> under a source control system so that each user is guaranteed to use the
> same utilities, on any machine, without having to undergo the installation
> process (even though the cygwin install is now quite slick, we have to deal
> with many other app too).
> Each user will view the cygwin installation from a different installation
> directory (e.g user dave will see it as n:\dave\cygwin whilst bob would see
> it via n:\bob\cygwin).  when tackling the install as a different user I
> remount the default paths but i get problems running via the shell.  i can
> not change to dir / even though this is mounted.
>
> If i go back to the original installation dir (and reconfigure my mounts)
> all works well again.  I'm assuming there is something obvious that i've
> missed here, but i could only find mount related issues in the mail archive
>
> dan

User mounts take precedence over system ones.  Log in as "dave", then
"mount -fub n:/dave/cygwin /; mount -fub n:/dave/cygwin/bin /usr/bin;
mount -fub n:/dave/cygwin/lib /usr/lib".  Repeat the procedure for every
other user that needs to access Cygwin.  Also, be aware that ntsec
settings on shared drives are controlled by "smbntsec".
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

- Raw text -


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