delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/21/09:57:13

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: Thu, 21 Oct 2004 09:57:04 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Buchbinder, Barry (NIH/NIAID)" <BBuchbinder AT niaid DOT nih DOT gov>
cc: cygwin AT cygwin DOT com
Subject: RE: [ANNOUNCEMENT] TEST VERSION: chere-0.4-1
In-Reply-To: <F76C9B2DA2FC4C4CA0A18E288BBCBCF708217E8F@nihexchange24.nih.gov>
Message-ID: <Pine.GSO.4.61.0410210949360.28940@slinky.cs.nyu.edu>
References: <F76C9B2DA2FC4C4CA0A18E288BBCBCF708217E8F AT nihexchange24 DOT nih DOT gov>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 21 Oct 2004, Buchbinder, Barry (NIH/NIAID) wrote:

> At Wednesday, October 20, 2004 3:51 PM, Igor Pechtchanski wrote:
> > Dave,
> >
> > A few suggestions...
> >
> > On Wed, 20 Oct 2004, Dave wrote (heavily snipped):
> >
> >> You must have Admin privileges to install the context menus.
> >
> > Why?  Can't they go into HKCU?
>
> I do not have Admin privileges and I could get the MS "Command Prompt Here"
> powertoy to install.  If chere could be configured to allow one to choose
> installation for "all users" or "just me", like setup does, it would be
> appreciated.

That's exactly what I asked above.  HKCU is also known as
HKEY_CURRENT_USER, and it's a registry subtree that the current user
should normally have write access to.

> (If that is possible, it might be even better if chere would figure out
> how cygwin was installed and just do it the same way.)

That won't work for two reasons: first off, "just me" vs. "all users" is a
choice for the *initial* mount configuration, and it can be changed at any
point by anyone with Admin privileges, and secondly, Cygwin could have
been installed by someone with Admin privileges, so the *current* user may
not be able to write the HKLM (HKEY_LOCAL_MACHINE) registry tree. In fact,
it's possible (after suitable mount invocations) to have *both* system and
user mounts, and what should "chere" do then? ;-)

Probably the most reasonable courses of action are to either provide a
command-line flag (as you suggested), or try to install in HKLM, and if
that fails, fall back to HKCU (as the xorg-x11-f* postinstall scripts used
to do).
	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