-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
Group Name not shown in --long listings in exa 0.9.0 (OpenBSD 6.7) #671
Comments
Likely an issue with https://github.com/ogham/rust-users Relevant code: https://github.com/ogham/rust-users/blob/07bf842751d7f7ce1e9e342535d837c0e503e4f2/src/base.rs#L420-L445 Could just be the buffer is too small for your system? |
This is still an issue with
Any solution for that yet? I just discovered
|
If anyone wants to try with my fix, you can replace the
|
@Freaky Can you open a PR on the ogham/rust-users repository? |
I did. Been in a release for the last 6 months. |
Sorry, I didn’t check. ^^’ So your fix has been merged and is in rust-users 0.11.0, and exa started using rust-users 0.11.0 in 04e2d4c, so exa 0.10.0 has the fixed version of rust-users. Can you try exa 0.10.0 and tell if it’s fixed for you? |
@sklages and @jeffrollin - can you give it another go? I only speculated that this was the issue, I didn't experience it myself. |
I'm still seeing UIDs/GIDs rather than names in exa v0.10.0 on CentOS Linux 7...is there any helpful info I can provide? |
@Freaky .. System: in-house made Linux, 64bit But I must admit that I switched to |
@sklages Thanks for the report! The crates.io issue is tracked here: #834 @overdodactyl I tried to compile exa on both CentOS 7 and OpenBSD 6.8 and it works, so I’m not sure how to diagnostic your problem… |
I have no problem using |
Does anyone here is using Active Directory with the users/groups only appearing as UID/GID not in Also, could you try to compile and test code from this Gist?
I created a dynamic user with systemd, so it wasn’t in I tried to look at how |
In my case, #900, it was definitely a musl/rust-users issue. I fixed the issue by making a glibc build in a CentOS 7 VM and moving those binaries to the network in question. After investigating, the musl issues page has an entry for NIS/LDAP/other user databases - LDAP is used to talk to Active Directory - which notes that
and links to a github repo for a library that lets musl use glibc's "name service switch" modules. I don't have the know-how to try making the necessary changes to rust-users. |
I don’t think |
@ariasuni I just installed exa v0.10.1 (the musl release) on a CentOS 7 system, and ran into the same numeric UID/GID issue. I just gave this snippet a shot, and it correctly printed out valid user/group names given a UID/GID printed out by exa. Hooray! I also gave it some garbage UID/GID values, and it printed "result is null". Any other testing I could do? Strangely enough, if I clone and build the v0.9.0 release, then the user/group names show up as expected (no UID/GIDs). I also tried the v0.10.0 musl release for good measure, and it also displayed UID/GIDs rather than names. |
Another data point: I cloned the repo and built it myself with the default Unfortunately I wasn't able to build the |
If you want to build lsd seems to have the same issue as us (but it uses rust-users too): lsd-rs/lsd#374 There’s also an issue about musl on the rust-users GitHub: ogham/rust-users#14 (comment) I don’t really time to make sense of all of these versions/musl or not/binary or compiled/OS combinations… The issue just seem very nebulous. The thing I’d like to know is: is there a version of exa 0.10.1 or master, built from source, that fails to give names instead of UID/GID when it’s in |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
exa is unmaintained, see #1243. Anyone still having this problem, do you have it with the active fork eza? |
Closing this in favor of eza-community/eza#541 |
When using the long listing format (--long or -l) with the --group or -g option, the group identifiers displayed are the numeric GIDs, not the group names. The user names display as expected. The issue is the same whether running exa as a regular user or as root. /etc/group permissions, and group and user details in /etc/group and /etc/passwd, have been checked and are correct.
The text was updated successfully, but these errors were encountered: