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

Detect symlinks with infinite loops #259

Closed
Kulgar opened this issue Sep 15, 2014 · 1 comment
Closed

Detect symlinks with infinite loops #259

Kulgar opened this issue Sep 15, 2014 · 1 comment
Labels
✨ Feature Adds a new feature

Comments

@Kulgar
Copy link

Kulgar commented Sep 15, 2014

As asked in the issue #217 I'm opening a new issue.

Here is the issue I found:

A symlink file was linking to the root folder of my application. Thus, guard/listen was following this file again and again, creating an infinite loop.

You can easily create such a symlink, for instance in your vendor folder, add a symlink to ".." (the parent directory). When you launch guard/listen it should follow this symlink again and again.

I discovered this issue while developing on Canvas LMS, you can find the concerned symlink file here: https://github.com/instructure/canvas-lms/blob/master/client_apps/canvas_quiz_statistics/vendor/canvas

Thanks,
Kulgar.

@e2 e2 added the bug label Oct 18, 2014
@e2 e2 added ✨ Feature Adds a new feature and removed bug labels Nov 13, 2014
@e2 e2 changed the title Infinite loop because of a symlink Detect symlinks with infinite loops Nov 15, 2014
@e2
Copy link
Contributor

e2 commented Nov 18, 2014

Fixed in 2.8 by #273

@e2 e2 closed this as completed Nov 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature Adds a new feature
Projects
None yet
Development

No branches or pull requests

2 participants