Skip to content

Detect symlinks with infinite loops #259

@Kulgar

Description

@Kulgar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions