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

COLORLS setup doesn't show broken symlinks #164

Open
herbertp opened this issue Aug 16, 2020 · 0 comments
Open

COLORLS setup doesn't show broken symlinks #164

herbertp opened this issue Aug 16, 2020 · 0 comments

Comments

@herbertp
Copy link
Member

Broken symlinks (i.e. symlinks without target) are not shown any different from those with a target.

[operator@beta] ~ $ touch good
[operator@beta] ~ $ ln -s good good_symlink
[operator@beta] ~ $ ln -s bad bad_symlink
[operator@beta] ~ $ ll *symlink
lrwxrwxrwx 1 operator users 3 Aug 16 13:25 bad_symlink -> bad
lrwxrwxrwx 1 operator users 4 Aug 16 13:25 good_symlink -> good
[root@beta] ~ # touch good  
[root@beta] ~ # ln -s good good_symlink
[root@beta] ~ # ln -s bad bad_symlink
[root@beta] ~ # ll *symlink
lrwxrwxrwx 1 root root 3 Aug 16 13:24 bad_symlink -> bad
lrwxrwxrwx 1 root root 4 Aug 16 13:24 good_symlink -> good

COLORLS has a separate attribute for broken symlinks and as we use symlinks for e.g. gateware (firmware) files it would be very beneficial to show those.

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

1 participant