delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/04/22/04:29:57

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 63M8TvTu2499141
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 63M8TvTu2499141
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=d6Tobtjf
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44C754BA902E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1776846595;
bh=iqip4EzKw2JfltjbxnYXoVmIwA93iYXSyO155qvkJXU=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=d6TobtjfRmOWXfx5N+eurrj6Tx1e1vK+lm3XmufWflhVW4k1LlaR/eQ8/N8cz5+3Z
e/Yp+y8H87kYbm2+EK9wtHoBIQvm4zayK0v80nWRsDL23PzzQBMjoPO5pxkizG8mpL
G/XYJPy8pMCZy0/oQd0AuuofoZSy2Zb8bo9lND5c=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F43A4BA2E3A
Date: Wed, 22 Apr 2026 10:29:35 +0200
To: cygwin AT cygwin DOT com
Subject: Re: cygrunsrv CWE-428
Message-ID: <aeiG74ROxwfRwucq@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <ee2370b2-34d7-4501-8a4c-49f0b1abd13f AT rackwareinc DOT com>
<aee5_xG7tKyT_-9k AT calimero DOT vinschen DOT de>
<SJ1PR10MB6003CBA95C1292F7CBB8D963F82C2 AT SJ1PR10MB6003 DOT namprd10 DOT prod DOT outlook DOT com>
<CANV9t=Qy3e-J0Oz0dgmoXkr4gz9_GrXiDGYzuegqmF5b5Weu+Q AT mail DOT gmail DOT com>
<cc86af0d-fcaf-4bcd-9261-b3f738e548b0 AT rackwareinc DOT com>
MIME-Version: 1.0
In-Reply-To: <cc86af0d-fcaf-4bcd-9261-b3f738e548b0@rackwareinc.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On Apr 21 14:05, James Warnock via Cygwin wrote:
> > [Also just FYI: This mailing list prefers inline quoting rather than
> > top-posting]
> Thank you for this. This is my first time using a mailing list and I'm
> still trying to figure things out. Hopefully this works better.
> 
> > The real issue, I think, is whether the string that is quoting the
> > executable fits in MAX_PATH.
> > 
> > The quotation marks are there for the parser; they are not part of the file
> > name itself. (Another way to say this: Command lines need to be quoted;
> > paths don't[1].)
> > 
> > The registry value for a service command is a command line, not a filename
> > path.
> 
> That makes a lot of sense. I'll take another stab at the patch with that in mind.
> Is this the right mailing list to send that patch to?

Usually cygwin-apps, but just keep it here, that's ok.

> Also, can anyone point me to some instructions on how to make the
> remote service install work? I'd like to test that as well to make
> sure there aren't any problems there. I did try just giving it a
> <remote host>/<service name> but that didn't work. There's probably
> some communication channel that must be configured beforehand that I'm
> missing.

Most of the time it's just a permission issue.  You have to have
(domain) admin perms on the remote machine and you have to run in an
elevated shell.


Corinna

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

- Raw text -


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