delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/03/09:26:36

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, 3 Sep 2004 09:26:14 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Dave Korn <dk AT artimi DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: How does a script find where Cygwin is installed?
In-Reply-To: <NUTMEGJFdb13zgiCLL400001135@NUTMEG.CAM.ARTIMI.COM>
Message-ID: <Pine.GSO.4.61.0409030924240.28876@slinky.cs.nyu.edu>
References: <NUTMEGJFdb13zgiCLL400001135 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 3 Sep 2004, Dave Korn wrote:

> > -----Original Message-----
> > From: luke.kendall
> > Sent: 03 September 2004 08:17
>
> > (I'm doing this to try to ensure that if a SysAdmin user installs
> > Cygwin for the actual owner of the machine, the owner will later have
> > permission to update or even uninstall Cygwin themselves.)
>
>   For this to work, they just need to install it "For all users", don't
> they?

Not necessarily.  There may be weird inheritable permissions on C:\, which
will propagate to C:\cygwin, and from there to all of the installed files.
The above is one way of fixing this after the fact.  Arguably, setup.exe
should check for these kinds of problems before creating C:\cygwin on new
installs (<http://cygwin.com/acronyms/#PTC>).
	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!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

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