Skip to content

find.exe -ls reports owner as "archive", does not report owner_group (GROUP_SECURITY_INFORMATION) #80

@aureliencouderc

Description

@aureliencouderc

find.exe -ls reports owner as "archive", does not report owner_group:

$ find.exe . -ls
0 4 archive 0 0 0 9 Jun 5 09:32 .
0 2048 archive 0 0 0 2097168 Jun 5 09:30 .\xxx
0 4 archive 0 0 0 0 Jun 5 09:14 .\myfile

Cygwin 3.6.9 on French Windows 11 reports this:
$ find . -ls
1487791 9 drwxr-xr-x 2 aucou Aucun 9 Jun 5 11:32 .
1487906 17 -rwxr-xr-x 1 aucou Aucun 2097168 Jun 5 11:30 ./xxx
1487792 1 -rw-r--r-- 1 aucou Aucun 0 Jun 5 11:14 ./myfile

It is important to get the Windows GROUP_SECURITY_INFORMATION" (group identity) in this case.
Please read https://learn.microsoft.com/en-us/windows/win32/secauthz/security-information

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugIt shouldn't be doing this.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions