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

List files even when lstat fails #1382

Merged
merged 1 commit into from Aug 26, 2023
Merged

List files even when lstat fails #1382

merged 1 commit into from Aug 26, 2023

Conversation

jantatje
Copy link
Contributor

Implements a fakeStat struct with dummy values and stores the error in file.err, then shows the error instead of FileInfo, if the file is inaccesible.

Fixes #1359

Implements a `fakeStat` struct with dummy values and stores the
error in `file.err`, then shows the error instead of FileInfo, if
the file is inaccesible.

Fixes gokcehan#1359
@gokcehan
Copy link
Owner

@jantatje Thank you very much for the patch. I have tried it and it looks good to me. I will keep the PR open for a little while so other people may also test it and/or give feedback.

@gokcehan
Copy link
Owner

@jantatje Sorry, I forgot to merge the PR. I don't think there will be any more feedback on this. Thanks again for the patch.

@gokcehan gokcehan merged commit e0abb29 into gokcehan:master Aug 26, 2023
4 checks passed
@gokcehan gokcehan mentioned this pull request Sep 17, 2023
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.

Inaccessible files and directories should be shown in the file listing
2 participants