Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3E7206BA.9543594A@ieee.org>
Date: Fri, 14 Mar 2003 11:43:38 -0500
From: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Markus =?iso-8859-1?Q?Sch=F6nhaber?= <mks99@t-online.de>,
   cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] New release of setup.exe (2.249.2.10)
References: <20030313205847.E1E4B1C221@redhat.com> <3E710A26.5050207@t-online.de> <20030314025249.GB33739617@hpn5170x> <3E718AD8.4010209@t-online.de> <3E71E0D9.682AD75E@ieee.org> <3E720139.70402@t-online.de>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Markus Schönhaber wrote:
> 
> Pierre A. Humblet wrote:
> > Markus Schönhaber wrote:
> >>I just started setup under a non-privileged account and XP's mechanism to
> >>show the "Run as Administrator" dialog when starting a program called
> >>"setup.exe" or "install.exe" kicked in.
> >>Maybe this is what you meant? If so - it worked for me.
> >
> >
> > Yes, that's it. You seem to be very familiar with it.
> > Where is it documented? Is it language dependent?
> >
> 
> No, I'm not too familiar with it. I just know that it has been there when
> I expected it to be.
> Have quickly looked into the MSDN Lib and found nothing. So getting the
> exact specification will take some research.
> Here are some unproven opinions of mine (beware! yet to be verified):
> - Since setup.exe triggered this mechanism on a German windows, I doubt
> that this feautre is language-dependent.
> - To work properly, I think this feature relies on the secondary locon
> service (Run As service in W2k?). So if the dialog doesn't appear on some
> machine - even though the user has *not* at least power user rights - the
> first thing I'd check is wether the secondary logon service is running.
> - As mentioned above, I seem to remember that the dialog will not appear
> if you are power user or administrator (to me only the latter was obvious).
> 
> > The main question is: what's the group of the files (Users or Administrators)?
> > If it's Administrators and Everyone does not have access, then most normal
> > users probably don't have rx access.
> >
> The Group is Users. Seems OK to me.
 
OK, thanks for the information, Markus. 
So far so good.

I recall another problem that somebody had reported after answering "yes".
The chown command in a postinstall script had no effect. That would mean
that at, at least at that site, the program was lacking the Restore privilege.
To test if this is a prevalent problem, a simple test is to put a 
testchown.sh script in /etc/postinstall . setup will then run it and we can
see if the command worked.

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

