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

[Bug]: LSD -l permissions incorrect and user/group are both always "?" #1053

Open
1 task done
Tyler799 opened this issue May 23, 2024 · 0 comments
Open
1 task done
Assignees

Comments

@Tyler799
Copy link

Tyler799 commented May 23, 2024

Version

  • latest

version

1.1.2

What OS are you seeing the problem on?

MSYS2/UCRT64

installation

pacman -S mingw-w64-ucrt-x86_64-lsd

term

xterm

ls-colors

Empty

What happened?

Here is an example of what my home directory looks like with LS:

/home/tyler.shellberg >ls -al
total 37
drwxr-xr-x 1 tyler.shellberg Domain Users    0 May 22 21:15 .
drwxr-xr-x 1 tyler.shellberg Domain Users    0 Jan 23 15:47 ..
-rw-r--r-- 1 tyler.shellberg Domain Users 2677 May 17 10:33 .bash_history
-rw-r--r-- 1 tyler.shellberg Domain Users   21 Feb  7  2023 .bash_logout
-rw-r--r-- 1 tyler.shellberg Domain Users 1256 Feb  7  2023 .bash_profile
-rw-r--r-- 1 tyler.shellberg Domain Users 5828 Feb  7  2023 .bashrc
drwxr-xr-x 1 tyler.shellberg Domain Users    0 Apr 17 14:15 .cache
drwxr-xr-x 1 tyler.shellberg Domain Users    0 May 15 16:52 .config
drwxr-xr-x 1 tyler.shellberg Domain Users    0 Feb 26 13:26 .dbus-keyrings
-rw-r--r-- 1 tyler.shellberg Domain Users  434 Mar 22 11:29 .gitconfig
-rw-r--r-- 1 tyler.shellberg Domain Users  415 Mar 22 11:27 .gitconfig.bak
drwxr-xr-x 1 tyler.shellberg Domain Users    0 Jan 29 09:21 .gnupg
-rw-r--r-- 1 tyler.shellberg Domain Users   20 May 22 21:15 .lesshst
drwxr-xr-x 1 tyler.shellberg Domain Users    0 Jan 24 08:48 .local
-rw-r--r-- 1 tyler.shellberg Domain Users   29 May 15 16:48 .minttyrc
-rw-r--r-- 1 tyler.shellberg Domain Users 1008 Feb  7  2023 .profile
drwxr-xr-x 1 tyler.shellberg Domain Users    0 May 23 11:28 .ssh

Here is what it looks like with LSD and my current settings:

Permissions User Group  Size        Date Modified             Name
d----       ?    ?        0 B  Wed Apr 17 14:15:44 2024 󰃨 .cache
d----       ?    ?        0 B  Wed May 15 16:52:39 2024  .config
d----       ?    ?      4.0 KB Mon Feb 26 13:26:31 2024  .dbus-keyrings
d----       ?    ?        0 B  Mon Jan 29 09:21:14 2024 󰢬 .gnupg
d----       ?    ?        0 B  Wed Jan 24 08:48:11 2024  .local
d----       ?    ?      4.0 KB Thu May 23 11:28:22 2024 󰢬 .ssh
.a---       ?    ?      2.6 KB Fri May 17 10:33:03 2024 󱆃 .bash_history
.a---       ?    ?       21 B  Tue Feb  7 08:09:29 2023 󱆃 .bash_logout
.a---       ?    ?      1.2 KB Tue Feb  7 08:09:29 2023 󱆃 .bash_profile
.a---       ?    ?      5.7 KB Tue Feb  7 08:09:29 2023 󱆃 .bashrc
.a---       ?    ?      434 B  Fri Mar 22 11:29:31 2024  .gitconfig
.a---       ?    ?      415 B  Fri Mar 22 11:27:27 2024 󰁯 .gitconfig.bak
.a---       ?    ?       20 B  Wed May 22 21:15:44 2024  .lesshst
.a---       ?    ?       29 B  Wed May 15 16:48:59 2024  .minttyrc
.a---       ?    ?     1008 B  Tue Feb  7 08:09:29 2023  .profile

As you can see, both user and group are always "?", and the permissions appears completely wrong.

Here is the contents of my config.yaml:

header: true

sorting:
  dir-grouping: first

What expected?

LSD should output similar information to LS about permissions and user/group.

What else?

I'm using Fish shell, if that matters.

@Tyler799 Tyler799 changed the title [Bug]: LSD -l permissions incorrect and user/group are both always "? [Bug]: LSD -l permissions incorrect and user/group are both always "?" May 23, 2024
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

No branches or pull requests

2 participants