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

Guard tries to watch entire home directory when confronted with a directory called ~ #876

Open
rhys-vdw opened this issue Aug 29, 2017 · 0 comments

Comments

@rhys-vdw
Copy link

I somehow (typo probably) created a read-only directory called ~ in the root of my project.

-> ls -la | grep '~'
drwx------     3 root  staff        102 18 Aug 11:03 ~

I did not have permission to open this directory (and therefore nor did Guard). I became aware of this directory because when I started Guard it would start recursing through my home directory and complaining that other files were currently being watched (outside of the project directory).

The project/~ dir was not a symlink, so I suspect that maybe guard is not using an absolute path to the directory it's trying to watch and ends up watching ~ instead of ./~. Otherwise I'd have expected to see a permission error rather than it recursing through my home folder.

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