Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-03-03 Thread Cedric Blancher via Cygwin
On Tue, 27 Feb 2024 at 16:07, Corinna Vinschen via Cygwin wrote: > > On Feb 27 15:41, Cedric Blancher via Cygwin wrote: > > Good afternoon! > > > > How can I get the group SID for a file in cmd.exe (powershell is not an > > option)? > > Is it possible to add an option to ls -l to list the

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-03-03 Thread Cedric Blancher via Cygwin
On Tue, 27 Feb 2024 at 23:27, Bill Stewart via Cygwin wrote: > > On Tue, Feb 27, 2024 at 7:42 AM Cedric Blancher wrote: > > How can I get the group SID for a file in cmd.exe (powershell is not an > > option)? > > > > Why is PowerShell not an option? It's for a test suite written in cmd.exe

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-29 Thread Bill Stewart via Cygwin
On Thu, Feb 29, 2024 at 7:50 AM Andrey Repin wrote: > (I ask because PowerShell has been a built-in part of the Windows since > > Windows 7--that's over 14 years ago as I write this.) > > Since Windows XP. > You must not be remembering correctly. PowerShell wasn't a built-in part of Windows

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-29 Thread Andrey Repin via Cygwin
Greetings, Bill Stewart! > On Tue, Feb 27, 2024 at 7:42 AM Cedric Blancher wrote: > How can I get the group SID for a file in cmd.exe (powershell is not an >> option)? >> > Why is PowerShell not an option? > (I ask because PowerShell has been a built-in part of the Windows since > Windows

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-27 Thread Bill Stewart via Cygwin
On Tue, Feb 27, 2024 at 7:42 AM Cedric Blancher wrote: How can I get the group SID for a file in cmd.exe (powershell is not an > option)? > Why is PowerShell not an option? (I ask because PowerShell has been a built-in part of the Windows since Windows 7--that's over 14 years ago as I write

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-27 Thread Corinna Vinschen via Cygwin
On Feb 27 15:41, Cedric Blancher via Cygwin wrote: > Good afternoon! > > How can I get the group SID for a file in cmd.exe (powershell is not an > option)? > Is it possible to add an option to ls -l to list the user/group SIDs too? No, but you can use Cygwin tools: getent -w group $(ls -gn

How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-27 Thread Cedric Blancher via Cygwin
Good afternoon! How can I get the group SID for a file in cmd.exe (powershell is not an option)? Is it possible to add an option to ls -l to list the user/group SIDs too? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: