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

error in list-directory when encountering a broken symlink #17

Open
epipping opened this issue Sep 30, 2016 · 1 comment
Open

error in list-directory when encountering a broken symlink #17

epipping opened this issue Sep 30, 2016 · 1 comment

Comments

@epipping
Copy link

epipping commented Sep 30, 2016

This happens by default on at least CCL and CMU CL; :follow-symlinks t may thus not be a great default given how common broken symlinks are. Moreover, :follow-symlinks nil only has an effect on SBCL and CCL; there's no way to work around this with CMU CL.

Update: A similar issue in OSICAT is discussed here: osicat/osicat#15

@hanshuebner
Copy link
Member

hanshuebner commented Sep 30, 2016

I can suggest two things: Either you fix your file system so that it does not contain broken symbolic links, or use a lower-level library like IOlib to be able to deal with abnormal situation in a Linux file system more gracefully. We're not going to change the default for :follow-symlinks as that'd break existing applications. If you want to propose a different fix for the issue please submit a pull request.

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