From 3d858c04e6681d7fec76e750c3936d0325405460 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 28 Feb 2025 21:28:23 +0100 Subject: [PATCH] try chgrp None --- tests/sshserver.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sshserver.pl b/tests/sshserver.pl index 2f9cef0fcb..fa4ddbf840 100755 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -423,8 +423,8 @@ if((! -e pp($hstprvkeyf)) || (! -s pp($hstprvkeyf)) || system "chmod 600 " . pp($cliprvkeyf); if($^O eq 'cygwin' || $^O eq 'msys') { # https://cygwin.com/cygwin-ug-net/setfacl.html - system "setfacl --remove-all " . pp($hstprvkeyf); - system "setfacl --modify u:" . $username . ":r " . pp($hstprvkeyf); + system "setfacl --remove-all " . pp($hstprvkeyf); + system "chgrp None " . pp($hstprvkeyf); } elsif($^O eq 'MSWin32') { # https://ss64.com/nt/icacls.html