Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ls, stat: Show more info in long format on Windows #4014

Merged
merged 3 commits into from
Oct 22, 2022

Conversation

tertsdiepraam
Copy link
Member

Fixes a bit of #3544

I kept the format identical to the format and Unix and approximated the permissions for Windows. Here's an example of the output:

total 0
drwxrwxrwx 1 somebody somegroup 0 Oct  9 00:36 directory
-rwxrwxrwx 1 somebody somegroup 0 Oct  9 00:30 link
-rwxrwxrwx 1 somebody somegroup 0 Oct  9 00:30 read-and-write
-r-xr-xr-x 1 somebody somegroup 0 Oct  9 00:30 readonly

Unfortunately, I can't get the link to work under Wine. I'm not sure if it's an issue with Wine or with the util (it'd be great if someone on Windows could test this. @AndreasBrostrom, maybe?)

@uutils uutils deleted a comment from github-actions bot Oct 10, 2022
@AndreasBrostrom
Copy link

@tertsdiepraam i can check this out, yes

@tertsdiepraam tertsdiepraam changed the title ls, stat: Show more info in long format ls, stat: Show more info in long format on Windows Oct 17, 2022
@sylvestre sylvestre merged commit e4fe2b1 into uutils:main Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants