[PATCH] Cygwin: Fix chown commands in cygserver-config

Mark Geisert <[email protected]> Mon, 8 Jun 2026 15:10:09 -0700
Newsgroups gmane.os.cygwin.patches
Message-ID <[email protected]>
Change "chown 18.544" to "18:544" in two locations.

Reported-by: Lionel Cons <[email protected]>
Addresses: <https://cygwin.com/pipermail/cygwin/2026-June/259786.html>
Signed-off-by: Mark Geisert <[email protected]>
Fixes: b5a7cb02cd9d (* cygserver-config: Use numeric id 18 instead of "system" in chown.)

---
 winsup/cygserver/cygserver-config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/cygserver/cygserver-config b/winsup/cygserver/cygserver-config
index abda18644..3130de7bc 100755
--- a/winsup/cygserver/cygserver-config
+++ b/winsup/cygserver/cygserver-config
@@ -162,7 +162,7 @@ then
     exit 1
   fi
   chmod 664 "${SYSCONFDIR}/cygserver.conf"
-  chown 18.544 "${SYSCONFDIR}/cygserver.conf"
+  chown 18:544 "${SYSCONFDIR}/cygserver.conf"
 fi
 
 # On NT ask if cygserver should be installed as service
@@ -194,7 +194,7 @@ then
       echo "To start it, call \`net start ${service_name}' or \`cygrunsrv -S ${service_name}'."
     fi
     touch "${LOCALSTATEDIR}/log/cygserver.log"
-    chown 18.544 "${LOCALSTATEDIR}/log/cygserver.log"
+    chown 18:544 "${LOCALSTATEDIR}/log/cygserver.log"
   fi
 fi
 
-- 
2.51.0