lsd-rs / lsd-rs/lsd

`DisplayAll` should be able to display Windows System attribute folder

Open
#1,164 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
16.2k
Forks
510
PR merge metrics
No merged PRs in 30d

Description

  • os: Windows 11
  • lsd --version: 1.1.5
  • echo $TERM:
  • echo $LS_COLORS:

Expected behavior

My AppData\Local folder has been set to System attributes by Windows (I guess it happens when we declare session as developer mode).

Actual behavior

➜  AppData lsd -la
d--h- ? ?   0 B  Fri Sep 26 04:54:22 2025  .
d---- ? ?  12 KB Fri Oct 10 22:18:24 2025  ..
d---- ? ?   0 B  Fri Sep 26 16:48:31 2025  LocalLow
d---- ? ? 4.0 KB Mon Oct  6 12:10:27 2025  Roaming

using dir :

➜  AppData ✗ dir /A S .
 Volume in drive C has no label.
 Volume Serial Number is 2E95-E141

 Directory of C:\Users\pcorbineau\AppData


 Directory of C:\Users\pcorbineau\AppData

26/09/2025  04:54    <DIR>          .
10/10/2025  22:18    <DIR>          ..
09/10/2025  14:35    <DIR>          Local
26/09/2025  16:48    <DIR>          LocalLow
06/10/2025  12:10    <DIR>          Roaming
               0 File(s)              0 bytes
               5 Dir(s)  1,217,796,255,744 bytes free

using dir without System attribute

➜  AppData dir
 Volume in drive C has no label.
 Volume Serial Number is 2E95-E141

 Directory of C:\Users\pcorbineau\AppData

10/10/2025  22:18    <DIR>          ..
26/09/2025  16:48    <DIR>          LocalLow
06/10/2025  12:10    <DIR>          Roaming
               0 File(s)              0 bytes
               3 Dir(s)  1,217,796,165,632 bytes free

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report on Windows 11 with lsd -la in a directory containing a System-attribute folder, then compare it with dir /A S . and dir. Trace how DisplayAll handles Windows file attributes; done means the System-attribute Local folder appears in the listing without changing the behavior of ordinary listings.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.