{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/4386","labels_url":"https://api.github.com/repos/jekyll/jekyll/issues/4386/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/jekyll/issues/4386/comments","events_url":"https://api.github.com/repos/jekyll/jekyll/issues/4386/events","html_url":"https://github.com/jekyll/jekyll/issues/4386","id":127911537,"number":4386,"title":"Jekyll via JRuby on Windows fails with Permission denied error","user":{"login":"keesvandieren","id":863966,"avatar_url":"https://avatars.githubusercontent.com/u/863966?v=3","gravatar_id":"","url":"https://api.github.com/users/keesvandieren","html_url":"https://github.com/keesvandieren","followers_url":"https://api.github.com/users/keesvandieren/followers","following_url":"https://api.github.com/users/keesvandieren/following{/other_user}","gists_url":"https://api.github.com/users/keesvandieren/gists{/gist_id}","starred_url":"https://api.github.com/users/keesvandieren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keesvandieren/subscriptions","organizations_url":"https://api.github.com/users/keesvandieren/orgs","repos_url":"https://api.github.com/users/keesvandieren/repos","events_url":"https://api.github.com/users/keesvandieren/events{/privacy}","received_events_url":"https://api.github.com/users/keesvandieren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-21T12:13:16Z","updated_at":"2016-01-21T12:17:26Z","closed_at":null,"body":"We are using Jekyll via JRuby and Maven. \r\n\r\nIts working great on Linux and OSX.\r\n\r\nOn Windows, the following error occurs:\r\n\r\n    [INFO] Configuration file: c:\\Users\\username\\projects\\jekyll-jruby-maven/src/main/resources/_config.yml\r\n    [INFO] Source: c:\\Users\\username\\projects\\jekyll-jruby-maven/src/main/resources\r\n    [INFO] Destination: c:\\Users\\username\\projects\\jekyll-jruby-maven\\target\\classes\r\n    [INFO] Incremental build: disabled. Enable with --incremental\r\n    [INFO] Generating...\r\n    [INFO] C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/utils.rb:117:in `open': Permission denied - c\r\n    :/Users/username/projects/jekyll-jruby-maven/src/main/resources/css (Errno::EACCES)\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/utils.rb:117:in `has_yaml_header?'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/reader.rb:43:in `block in read_directories'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/reader.rb:43:in `select'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/reader.rb:43:in `read_directories'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/reader.rb:17:in `read'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/site.rb:144:in `read'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/site.rb:57:in `process'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/command.rb:28:in `process_site'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/commands/build.rb:60:in `build'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/commands/build.rb:35:in `process'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/lib/jekyll/commands/build.rb:18:in `block in init_\r\n    with_program'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/gems/jekyll-3.0.2/bin/jekyll:17:in `<top>'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/bin/jekyll:1:in `load'\r\n    [INFO] from C:/Users/username/projects/jekyll-jruby-maven/target/rubygems/bin/jekyll:1:in `<top>'\r\n    [INFO] from -e:1:in `load'\r\n    [INFO] from -e:1:in `<top>'\r\n\r\nThe following sample project that reproduces the issue with Jekyll 3.0.2: https://github.com/squins/jekyll-jruby-maven"},"comment":{"url":"https://api.github.com/repos/jekyll/jekyll/issues/comments/173554162","html_url":"https://github.com/jekyll/jekyll/issues/4386#issuecomment-173554162","issue_url":"https://api.github.com/repos/jekyll/jekyll/issues/4386","id":173554162,"user":{"login":"envygeeks","id":99763,"avatar_url":"https://avatars.githubusercontent.com/u/99763?v=3","gravatar_id":"","url":"https://api.github.com/users/envygeeks","html_url":"https://github.com/envygeeks","followers_url":"https://api.github.com/users/envygeeks/followers","following_url":"https://api.github.com/users/envygeeks/following{/other_user}","gists_url":"https://api.github.com/users/envygeeks/gists{/gist_id}","starred_url":"https://api.github.com/users/envygeeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/envygeeks/subscriptions","organizations_url":"https://api.github.com/users/envygeeks/orgs","repos_url":"https://api.github.com/users/envygeeks/repos","events_url":"https://api.github.com/users/envygeeks/events{/privacy}","received_events_url":"https://api.github.com/users/envygeeks/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T12:17:26Z","updated_at":"2016-01-21T12:17:26Z","body":"I don't think there is anything we can do about this, `Errno::EACCESS` is Ruby surfacing a File system issue to us, what do the permissions look like in that folder?"}}