From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) by sourceware.org (Postfix) with ESMTPS id DFE43385ED40 for ; Sat, 1 Jun 2024 12:50:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DFE43385ED40 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nrubsig.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DFE43385ED40 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.166.54 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 Received: by mail-io1-f54.google.com with SMTP id ca18e2360f4ac-7e25df4ccecso114913239f.1 for ; Sat, 01 Jun 2024 05:50:35 -0700 (PDT) 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: In-Reply-To: From: Roland Mainz Date: Sat, 1 Jun 2024 14:50:08 +0200 Message-ID: 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@lists.sourceforge.net, cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 List-Id: On Wed, May 29, 2024 at 4:28=E2=80=AFAM Dan Shelton wrote: > > On Tue, 28 May 2024 at 22:15, Cedric Blancher via Cygwin > 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@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/65cec8f29cda6b8f4a144620= 3f6ab1cb988496ad?diff=3Dunified&w=3D1). 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/e170a8a37f218d2f03a651ef= c6593c1e9ed0869e?diff=3Dunified&w=3D1). ---- Bye, Roland --=20 __ . . __ (o.\ \/ /.o) roland.mainz@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /=3D=3D\ O\ TEL +49 641 3992797 (;O/ \/ \O;)