delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/25/13:05:16

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=QSz1HP3aXtDtvP5v
49eWiS+/xfjhpoNnYU51pgjGxJaJao9eOmT2ywKorEPgILPz5UWh+q8ox/4sLwE5
zYyosFr8TScKjpdfiMeKw7xAwVIBgLnD1dr7peCTOjGqAMgciRVjP0SW8qgrtpPR
OlmgyD2a/HVylDlpeh96/CpNIhA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=BkPgdRKoU0HsG4hfEhAoFh
u5XoY=; b=leSavi5qq7tJje7bLQG2BmIAxCw3f08xetCoWATQonuZ4xlUicKaJD
tLxizv9qgBTWc6q3ppBrEuam8384pJEILi7ci9k8SXpy613IUn5ngWmmtLrhs2Se
XmV3CVFB+cwD4fa9SoF2n4kj/KK1wowKVTxWTbryzbSzsSOtiEA0w=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=5.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,HELO_LH_HOME,KAM_THEBAT,RDNS_NONE autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Wed, 25 Sep 2013 20:58:37 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1683896177.20130925205837@mtu-net.ru>
To: "Larry Hall (Cygwin)" <cygwin AT cygwin DOT com>
Subject: Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe)
In-Reply-To: <5242F7FC.8020003@cygwin.com>
References: <CAPw2spinsbSZaduOMJtgR6rkaoJA9s7rTm6LCwvWBCK9-kiN8A AT mail DOT gmail DOT com> <5231EEF4 DOT 6010407 AT users DOT sourceforge DOT net> <CAPw2sphgi3r6U=ZvUj7ywS1JYOgPY2f4spuDW8Frff5gUCsrtQ AT mail DOT gmail DOT com> <20130918174034 DOT GB2351 AT ednor DOT casa DOT cgf DOT cx> <CAPw2spi2cQMRid83Zg53d3QvaA9J=2=kBXet_0SHnZtOxmwjDg AT mail DOT gmail DOT com> <5239EC4C DOT 7060904 AT cwilson DOT fastmail DOT fm> <CAPw2sph9GFaR_PLsvfWj-1FR0G0qLuaPAGnqN4RWqJEitdE8tA AT mail DOT gmail DOT com> <CAPw2sph0tFg_5g_Tt1M4gPcRoORmv-YeEPzSGto-MnguFwxBcA AT mail DOT gmail DOT com> <5242F7FC DOT 8020003 AT cygwin DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Larry Hall (Cygwin)!

>> In fact, what would be the issue to set the requested execution level
>> to "asInvoker" for the official setup-x86_64.exe?
>> People with admin rights will still be able to install for all users
>> and people without admin rights will be able to install for
>> them-selves.

> Doesn't that mean that "setup-x86_64.exe" needs to be "Run as Administrator"
> to be installed for "All Users"?  If so, I wouldn't be in favor of the
> change because it changes the default install behavior (= more confusion/
> list traffic).

No, this means that it will need to request privilege elevation when
appropriate, instead of running with elevated privileges from the start.
Or we would need a tool to run postinstall scripts with elevated privileges,
where necessary. run/run2 are likely candidates for such functionality.


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 25.09.2013, <20:55>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019