delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/26/12:03:06

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=oyBp/IvE3TAqkkz18h6qGebBwGx7XU4ONtHaEalfZAo
E0oiyBiJXJcSR2Offw3iAYn9Wl8bIBzZuKJ3cNsV2/H4oh8sa470rwS+vaYSrTVz
7Tm7/oZs8Cm2h5fNRY9LjAzSVTv9BNDr/UD3VcPDeZDJqNJ3mP7gx7jSIJYwPiMA
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=OMvygqRdI9F2D19h1xnpMmh2Y7c=; b=siNT5Z89cG+Kl1bX9
ty91lfORhNDEq4+QBAEs76c95HsksApAPbS7RTEcH5roCUW+Kn4Hc4msKym/GujM
mtUxkYQwAbFZDdOQ0pPXGprKu2766pSVtDIyaiwipMG8djK98f428CIJu0CbPgyX
OC6CpnWLUDftk1CBtgQYFyfkKU=
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: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2
X-HELO: etr-usa.com
Message-ID: <5294D37E.7090001@etr-usa.com>
Date: Tue, 26 Nov 2013 09:59:42 -0700
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: Cygwin 1.7.25 issue: Crontab on Windows (was ...1.5.25...)
References: <CAMwOpcry6fkHwZC8thRjMuV=iZL3keP3SCrsjCroqWrEcQNa-w AT mail DOT gmail DOT com> <CAMwOpcp4heAtgg7fnMXdSw02iKO+Z5pwnBDC2GV6_zcLdjt_ag AT mail DOT gmail DOT com>
In-Reply-To: <CAMwOpcp4heAtgg7fnMXdSw02iKO+Z5pwnBDC2GV6_zcLdjt_ag@mail.gmail.com>
X-IsSubscribed: yes

On 11/26/2013 02:27, Aleksander Panayotov wrote:
> It was actually a typo - a missing "2". What I meant was that I tested
> it with the 1.7.25 version (the latest one that was on your website
> last week) and not with 1.7.5.

Okay, then.

The standard solution here is to set your installer to require UAC. 
There's a flag for this in MSI, and probably in any other reasonable 
software installation system.  That elevates the actual install process 
to Admin privileges, so that when it launches cygrunsrv, it will have 
the permissions it needs to handle the -u flag correctly.

I would suggest not shipping a private copy of Cygwin, but instead ship 
Cygwin's setup.exe and do your custom minimal installation via its 
command line interface.  That way, you don't have to keep your shipped 
version up-to-date, you don't have to worry about source code 
distribution for anything but setup.exe, and you can take advantage of 
the auto-UAC features of setup.exe.

That latter feature might be enough to sway you all by itself.  It means 
you can run the installation as a normal user, but if they have the 
ability to do UAC authentication, Cygwin's setup.exe will elevate *that 
part* of the installation to Admin level automatically.

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