[newlib-cygwin/main] Cygwin: Fix chown commands in cygserver-config
Jon Turney
jturney@sourceware.org
Wed Jun 10 15:05:13 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=f32a05ec3d73bd0ff917d94d8bacaa035f56e773
commit f32a05ec3d73bd0ff917d94d8bacaa035f56e773
Author: Mark Geisert <mark@maxrnd.com>
Date: Mon Jun 8 15:10:09 2026 -0700
Cygwin: Fix chown commands in cygserver-config
Change "chown 18.544" to "18:544" in two locations.
Reported-by: Lionel Cons <lionelcons1972@gmail.com>
Addresses: <https://cygwin.com/pipermail/cygwin/2026-June/259786.html>
Signed-off-by: Mark Geisert <mark@maxrnd.com>
Fixes: b5a7cb02cd9d (* cygserver-config: Use numeric id 18 instead of "system" in chown.)
Diff:
---
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
More information about the Cygwin-cvs
mailing list