On Wed, May 29, 2024 at 4:28 AM Dan Shelton <dan.f.shel...@gmail.com> wrote:
>
> On Tue, 28 May 2024 at 22:15, Cedric Blancher via Cygwin
> <cygwin@cygwin.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@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.ma...@nrubsig.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

Reply via email to