delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/06/01/08:51:47

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 451CpkjL2920696
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=y0KCIj0e
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 23AC138845FB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1717246306;
bh=OqVZWkkZX8tlzG8rWwTNFZPK/1mhNhWL/V5qH+aszYY=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=y0KCIj0edVGyIFe0E9trquR7wXImxenMBQ42b1tfYTleE0M92X4nBgL002x+AAbCk
Wk/ZLRp8JvqLaCN3EvsAX0qefvHLkKlQ7gFINaVQBDuby8R+nFtiOOqE2E/eNCNIV9
SdfE9upgO7ZrxDcU2qc72od3GVz9S3Iq6j65xFrc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DFE43385ED40
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DFE43385ED40
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717246237; cv=none;
b=fZv/fBc6gAdq3WNIoyMk34AOeUKkycUER4R4mok+7I3DO1GLjt8ae6HwdRSuXXkRXXmlAF1RnHqmTFwCv4EnFnP7L8klmkV8Bq7czXnDFfSUlq/znQ8QXqYh3cjtcLYvmcNGbP+OoX+U0kz93XcdbiuJx9MAwIp3/don9nUiDMc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1717246237; c=relaxed/simple;
bh=UnPW77Bz6HlQrN5kNy4INCZ2CLEaxcy/c1NdA2cgmT4=;
h=MIME-Version:From:Date:Message-ID:Subject:To;
b=JJ3iv+l6Mu64jpjyCGuZHZ+Ncrhb/d8u31Tu8ZBQOjTlOrS/sdJIGrBOVvBoFjCrToBgE8n1i3MsAuIiZHfZRvWBK18xIL+Mb6+KAYBsg6/9oIQOVqyJ+wXeO+mhCmZOeRSeywAEexpiVPF73LByjkprqvMaG+eJjxtlrax5yh4=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1717246235; x=1717851035;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=kz+n2bwwfWNFCBX/CQTuLstc3rZ6ch89yYvNzvhf8zc=;
b=SPhwf+OAiZ/zvRTu2dsLP9RC3L/O6MdFMD/sd1VLAMIfbWLioSs/wwFYyqyevcHHJV
86a6ifutV+jtT9bonD8T1CebRCnQBshiQbPAIaDdUy9VfV1GLnznuHLyVF6LrOyeG+lZ
XhPtG74IlUcci8pkzg47nMTPnDnteHWPjX+yQMEPoBZ6NBWo/oMIowsWI1S6763/WEHF
C9C0h4COA9zyKgd0cuUXKjwIs1yhE1EQiaQmOpv0AJFQ6L1beyhKbDYVSb8867YEaSg5
cghzzRs4by2IhA9PyeLFC7RNslKKMrZe8MjaxD/WNUla9o5Y4DQMa/jN5t9Y5wxvrIwt
AcJw==
X-Forwarded-Encrypted: i=1;
AJvYcCU4HdseVR6six4TpNro/aP06chUI5CShPVZHX1/oodXxAyaLM3VgIBwqKjnb+nSd1RYIyw/3Q+XRmlsvJmSUS8cjw==
X-Gm-Message-State: AOJu0YwEcG7mVaUrq8ljPaV0l1OT88wOxGucaI8oGHH5FXQWDP9HkRy+
ENMMqNxInmf9zKpcg0malTmwJPWSBp6gRVLsQXZ47ozDoXOKeJaA77l4uxuA0YJcd7aBECwAfvr
eK3ieSU5ry7UPwVy3Dbz7KG3D52gbCDR7
X-Google-Smtp-Source: AGHT+IE3EJWU4rRJPU3khANEfLqNSm49EOH9AG85Z3/1lld01C4jDpKko7IBhydQSFVaUdbsibObWaSxRA4kYOuCBhE=
X-Received: by 2002:a05:6602:158f:b0:7d5:dd91:4b47 with SMTP id
ca18e2360f4ac-7eaffeb2471mr579845539f.7.1717246234338; Sat, 01 Jun 2024
05:50:34 -0700 (PDT)
MIME-Version: 1.0
References: <CAKAoaQm2yrdyvd-U1Q4GztqFuEVpit4epsSpBZRJxR92nn+Fug AT mail DOT gmail DOT com>
<CALXu0UfJ1fhXACJiOf5b59kLRR725OSnHU8hO-+fKqpcAcVYGQ AT mail DOT gmail DOT com>
<CAAvCNcBzZ5_K=d4fv8NBVuP2YMZW27miT1tCg8cAukRm7b1cdA AT mail DOT gmail DOT com>
In-Reply-To: <CAAvCNcBzZ5_K=d4fv8NBVuP2YMZW27miT1tCg8cAukRm7b1cdA@mail.gmail.com>
Date: Sat, 1 Jun 2024 14:50:08 +0200
Message-ID: <CAKAoaQnHye9AA0ii1-bOvORCZg1Fup7FwTHZCMLKR-GFtJe6Ew@mail.gmail.com>
Subject: Re: [Ms-nfs41-client-devel] WinSG Re: ANN: NFSv4.1 filesystem client
Windows driver binaries for Windows 10/11 for testing, 2024-05-28 ...
To: ms-nfs41-client-devel AT lists DOT sourceforge DOT net, cygwin AT cygwin DOT com
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,
FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,
KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
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-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: Roland Mainz via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Roland Mainz <roland DOT mainz AT nrubsig DOT org>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 451CpkjL2920696

On Wed, May 29, 2024 at 4:28 AM Dan Shelton <dan DOT f DOT shelton AT gmail DOT com> wrote:
>
> On Tue, 28 May 2024 at 22:15, Cedric Blancher via Cygwin
> <cygwin AT cygwin DOT com> wrote:
> >
> > Good evening!
> >
> > For your consideration - we need FEEDBACK, please!
> >
> > New is support running it as service (sc start
> > ms-nfs41-client-service), setgid()/newgrp support (with a new winsg
> > utility to run Windows applications with different primary group),
> > 32bit kernel support, ACL+UNC path (cd //host AT port/path1/path2 work in
> > bash and ksh93)+chgrp+nfs:// support, and the NFS server no longer
> > needs the "insecure" export switch.
>
> The WinSG utility is actually cool, because it can be used like a
> normal Windows utility, and brings support for using multiple groups
> to native Windows.
>
> Just a couple of ideas:
> - Native Windows doesn't have an easy way to list group memberships
> for the current user, so a WinSG -l to list available groups would be
> good

Done, I used -L (instead of -l) to avoid colliding with other
newgrp(1) implementations (see
https://github.com/kofemann/ms-nfs41-client/commit/65cec8f29cda6b8f4a1446203f6ab1cb988496ad?diff=unified&w=1).

But in general I think Linux, Solaris/Illumos and Cygwin should
standatise sg(1) with features like "-c cmdline" (like $ bash -c
cmdline #) and -L (list groups suitable for -g), and make "-g
groupname" mandatory.

> - WinSG should be installed in C:\Windows\system32\ alongside cmd.exe

Not yet, all stuff for the Cygwin install of the ms-nfs41-client goes
into the Cygwin /bin && /sbin dirs.

> - PowerShell plugin would be cool

I have no idea yet how to do that (yet).

> - Explorer Plugin to switch groups

Same problem... I'm not even sure the default Windows Explorer has an
API for its access token... ;-(

> - Native Windows utilities use /? for help, not --help

Done, I added winsg /? (see
https://github.com/kofemann/ms-nfs41-client/commit/e170a8a37f218d2f03a651efc6593c1e9ed0869e?diff=unified&w=1).

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland DOT mainz AT nrubsig DOT org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

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