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

Errno::EACCES: Permission denied when using --ignore #107

Open
MaxPleaner opened this issue Aug 7, 2016 · 1 comment
Open

Errno::EACCES: Permission denied when using --ignore #107

MaxPleaner opened this issue Aug 7, 2016 · 1 comment

Comments

@MaxPleaner
Copy link

MaxPleaner commented Aug 7, 2016

I have a static site generator that builds a dist/ folder. The main command is app.rb and every time it's run, the dist/ folder is rebuilt.

I need to ignore the dist/ folder to use rerun, otherwise it would enter a recursive loop.

So I try: rerun --ignore dist/ "ruby app.rb"

The problem is this does not actually ignore the dist/ files so the recursive loop does occur.

Then I try: rerun --ignore dist/* "ruby app.rb"

The problem here is Errno::EACCES: Permission denied - dist/scripts which I get when trying to build the dist/ folder. I'm figuring that some part of the --ignore effect is cutting off my program's access to that folder, when all I want to do is have rerun ignore the file changes there.

I don't know where this error is coming from (no stack trace).

@marcandre
Copy link

marcandre commented Sep 14, 2020

Same issue (on OS X, all recent versions of everything)

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