delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/21/07:44:03

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Fi
Tn7HZA+e+aE+u0G86/uE2mZqVo5KBWo3HxxaXl9aPc/aWXqSEbDK9V7ANxs7YuyL
jOSD46EYSEdNRTVGvjm+plr7mTRwAJ4iiqhD5P47zpIbXMWmaUCo659DeUlC/c2d
4+aSK2d2aX+81WHFdAByN49dCnV83hJkM6zNlrd+U=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=NbQ3eOpa
fp5xePENRBNcxkBQeMk=; b=cgN1O3VHOfy60t+ab0musK6afn6gZSPfL0j4MR3M
N0Wi1Yrl0sh/v3fMAEW7af2tI0B0nf9AmRQK07Iu2fu2f4rmJrztuTJ+TLQ6XDe1
uew7sA5Az7JMJRtu//MLmZmbSUXI8q2BvecNxYRT+9dbF0YBUNXrfAd8nQjHoyDh
99Q=
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=-1.6 required=5.0 tests=AWL,BAYES_05,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wg0-f52.google.com
MIME-Version: 1.0
X-Received: by 10.194.62.176 with SMTP id z16mr1660362wjr.76.1400672617506; Wed, 21 May 2014 04:43:37 -0700 (PDT)
In-Reply-To: <20140521112343.GC24265@nicku.org>
References: <20140521112343 DOT GC24265 AT nicku DOT org>
Date: Wed, 21 May 2014 13:43:37 +0200
Message-ID: <CAMCbSMr7itMOqc3ixF4DoygWL9GXRTMjxAX9rmUPnqWPPRJXaA@mail.gmail.com>
Subject: Re: Installing a program as a Windows service on Windows 8.1
From: Arjen Markus <arjen DOT markus895 AT gmail DOT com>
To: Andrey Repin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

You may need to open the properties dialogue for that file and edit
the properties. I have run into similar problems myself (installing a
DLL via a makefile causes the loss of the execute permission in my
case. No idea why.)

To do this, select the file in question in Windows Explorer and press
the right mouse button. You need the security tab and the permissions
are best set to "ful control" - more than necessary, I guess, but
easiest.

Regards,

Arjen

2014-05-21 13:23 GMT+02:00 Nick Urbanik <nicku AT nicku DOT org>:
> Dear Folks,
>
> I have written a Perl program that I want to run as a service on
> Windows 8.1.  However, when I type:
> cygrunsrv -I NAME -p /path/to/NAME
>
> Note: NAME has execute permissions, and can be run.
>
> I get the error message:
> cygrunsrv: Error installing a service: OpenSCManager: Win32 error 5:
> Access is denied.
>
> I am doing this from an account that is shown as "Administrator".  I
> am not very familiar with Windows; I only use it to solve problems
> that other users of it are having.  Any suggestions are most welcome.
> --
> Nick Urbanik             http://nicku.org           nicku AT nicku DOT org
> GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
>
> --
> 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
>

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