delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/15/04:29:46

X-Spam-Check-By: sourceware.org
Date: Fri, 15 Dec 2006 10:29:29 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Vista & coreutils (or any other package)
Message-ID: <20061215092929.GD32262@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20061214152631 DOT GK9829 AT calimero DOT vinschen DOT de> <45818407 DOT 981D73E7 AT dessent DOT net> <els2m3$7jr$1 AT sea DOT gmane DOT org> <458194CC DOT 62EC7425 AT dessent DOT net>
Mime-Version: 1.0
In-Reply-To: <458194CC.62EC7425@dessent.net>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Dec 14 10:15, Brian Dessent wrote:
> Shankar Unni wrote:
> 
> > > The manifest route is pretty simple, you just create an .xml file, then
> > > refer to it in a resource file, and then windres does the rest.
> > 
> > But in cases like this, we really *don't* want to run with elevated
> > privileges - if I'm "install"ing to /tmp, I definitely don't want to
> > raise my privileges needlessly and potentially set up a security risk
> > somewhere. (Admittedly this is an unlikely scenario, but...)
> 
> I thought the idea here was that the manifest tells the system
> explicitly "I am not an installer and I do not need to be run with
> elevated privileges", i.e. treat it like a normal program.

"Somebody would have to try it"(tm)  So far I don't know if this also
works with CreateProcess, or if this still requires to call
ShellExecute.  In the first case the manifest would help, but in the
second case we have no other choice than the FAQ entry.  Well, time
will show.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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