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

Permission denied @ dir_initialize - /.DocumentRevisions-V100 (Errno::EACCES) #1840

Closed
craigmdennis opened this issue Mar 17, 2016 · 2 comments

Comments

@craigmdennis
Copy link

I'm not sure this is related to middleman or not but seems to be related to #1399

I'm trying to create a gulp workflow for Middleman v4 and am running into a permissions issue but can't figure out where it's coming from.

You can see the repo here: https://github.com/craigmdennis/middleman-gulp/tree/develop

activate :external_pipeline,
  name: :gulp,
  command: build? ? 'npm run production' : 'npm run gulp',
  source: "/",
  latency: 1

When I run middleman build I get the following error:

/usr/local/var/rbenv/versions/2.2.0/lib/ruby/2.2.0/pathname.rb:430:in `open': Permission denied @ dir_initialize - /.DocumentRevisions-V100 (Errno::EACCES)

When I run npm run production it completes successfully.
When I comment out the above configuration and run middleman build it completes successfully

@tdreyno
Copy link
Member

tdreyno commented Mar 17, 2016

Looks like some crazy OS X thing: https://discussions.apple.com/thread/4295423?start=0&tstart=0

Are you running out of a special folder, an icloud path or maybe external disk?

Can you post the full error stack trace?

@sandstrom
Copy link
Contributor

I'm doing some issue-gardening 🌿🌷🌾 and came across this issue.

Sorry that this has lingered for quite a while! I'd suggest either closing this issue or submitting a PR with an implementation or at least a failing test.

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

3 participants