delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/01/00:09:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Fri, 1 Apr 2005 00:09:07 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Luke Kendall <luke DOT kendall AT cisra DOT canon DOT com DOT au>
cc: cygwin AT cygwin DOT com
Subject: Re: Path confusion
In-Reply-To: <20050401044036.D428B8553D@pessard.research.canon.com.au>
Message-ID: <Pine.GSO.4.61.0503312359290.26371@slinky.cs.nyu.edu>
References: <20050401044036 DOT D428B8553D AT pessard DOT research DOT canon DOT com DOT au>
MIME-Version: 1.0

Luke,

Please make sure your mailer respects the Reply-To: header -- I set it for
a reason.

On Fri, 1 Apr 2005, Luke Kendall wrote:

> On 31 Mar, Igor Pechtchanski wrote:
> >  > The problem is then that there are two /home directories: the real
> >  > /home that's mounted on, say d:/home, and the fake /home, formed by
> >  > re-writing "c:/cygwin" as "/", and tacking on the home subdirectory.
> >  >
> >  > I think the solution is that I simply have to remove or rename
> >  > c:/cygwin/home.
> >
> >  FWIW, this still won't allow you to access /home via c:/cygwin/home...
>
> Excellent, since it isn't the /home directory!  :-)

Well, I still don't see what you expect to accomplish by this, except
disable Tab-completion for /home...

> /home is what mount has been told (typically, d:/home).
>
> I was surprised initially when doing a find c:/cygwin that it entered
> the d:/home area - but a -xdev option takes care of that issue.

And "find / -xdev" will work even if you have a c:/cygwin/home...  If you
do a "find c:/cygwin -xdev", don't be surprised if you see directories
that are normally mounted over...

> If you don't want to require the original Cywgin installer to be the
> only person who can later install or remove Cygwin packages, you can
> change ownership of all Cygwin files to allow anyone with adminstrators
> privilege for the machine to do it, by making sure the person who
> installs running this:
>
>     find `cygpath -m /` -xdev -user $USER -print \
>        | tr "\n" "\000" \
>        | xargs -0 chown Administrators.SYSTEM

What's wrong with simply

    find / -xdev -user $USER -print0 | xargs -r0 chown Administrators.SYSTEM

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

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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