This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: [ANNOUNCEMENT] TEST VERSION: chere-0.4-1
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Buchbinder, Barry (NIH/NIAID)" <BBuchbinder at niaid dot nih dot gov>
- Cc: cygwin at cygwin dot com
- Date: Thu, 21 Oct 2004 09:57:04 -0400 (EDT)
- Subject: RE: [ANNOUNCEMENT] TEST VERSION: chere-0.4-1
- References: <F76C9B2DA2FC4C4CA0A18E288BBCBCF708217E8F@nihexchange24.nih.gov>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/