Permission denied since update compass 0.12.4 #1615

isyara opened this Issue Mar 21, 2014 · 16 comments


On compass 0.12.3 Works perfect but since update compass to version 0.12.4 impossible to compile :

Errno::EACCES on line ["891"] of c: Permission denied ...pathcompiledstyle.css

I have change permission to 777 but fail again . (if i'm rollback to 0.12.3 it's Works)

PS : i'm under windows 7 x64


I too am having the same issue. Windows 8.1, x64.


It looks like it's trying to write a weird filename-- I don't think it has to do with permissions.


I'm experiencing the same thing, also on Windows 8.1 x64.

Compass member

Actually, this was a bug in a utility function in Sass that I just started using to write out our css files (to fix concurrency issues). I have fixed the underlying issue in Sass and will release both libraries asap.



Hi guys—I'm relatively new to Sass/Compass and ran into this bug after updating yesterday. Has the fix been released yet, and would anyone care to walk me through it?


Wait for version 0.12.5 or install from git.

Compass member

No new compass release is needed. I've just released sass 3.2.18. Please update sass to fix this issue.

Compass member
$ gem install sass --version "~> 3.2.18"

I'm a total noob to Ruby, Sass, and Compass. So, my problems may be due to my ignorance.
However, I'm having the same issues regarding Compass/Sass even after installing the new version of sass ver 3.2.18.

Actually I uninstalled both Sass and Compass entirely and started fresh. As you can see in the code block below I installed fresh, and immediately tried to create a new project named "bestof" in my local project folder "C:\wamp\www\best_www" and I still receive the same error.

        C:\wamp\www\best_www>gem install compass
        Fetching: sass-3.2.18.gem (100%)
        Successfully installed sass-3.2.18
        Fetching: compass-0.12.4.gem (100%)
        Successfully installed compass-0.12.4
        Installing ri documentation for compass-0.12.4
        Installing ri documentation for sass-3.2.18
        2 gems installed

        C:\wamp\www\best_www>compass create bestof --trace
           create bestof/config.rb
        Errno::EACCES on line ["897"] of C: Permission denied - (C:/wamp/www/best_www/bestof/config.rb201403
        22-110584-wsqlb4, C:/wamp/www/best_www/bestof/config.rb)
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/sass-3.2.18/lib/sass/util.rb:897:in `atomic_create_and_write_f
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/actions.rb:58:in `write_file'
        er.rb:20:in `write_configuration_files'
        er.rb:35:in `prepare'
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/installers/base.rb:32:in `run'
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/stamp_pattern.rb:75:in `pe
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/base.rb:18:in `execute'
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/commands/project_base.rb:19:in `exe
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:43:in `perfo
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/lib/compass/exec/sub_command_ui.rb:15:in `run!'

          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/bin/compass:30:in `block in <top (required)>'
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/bin/compass:44:in `call'
          C:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-0.12.4/bin/compass:44:in `<top (required)>'
          C:/Ruby193/bin/compass:23:in `load'
          C:/Ruby193/bin/compass:23:in `<main>'




Hello, having the same issue here. This problem coincided with day 1 of my sass/compass experience. There has been much gnashing of teeth!

Anyhow, I'm a bit confused. Isn't the current version of sass 3.3.4? Why are we talking about 3.2.18?


I don't know if this is a problem with sass or compass-- but I was able to install previous version of compass and everything works fine again. So, there's that.


@mattcollier - I uninstalled compass and sass again and reinstalled Compass ver. 0.12.3 which automatically installed Sass ver. 3.2.18 everything now works. Guess there's still some bugs to iron out with the newest version of either Compass or Sass (which I don't have the knowledge of which is the culprit).


+1 for downgrade

Thanks guys, Ive been looking a workaround since yesteday


I think this needs to be reopened?


I'm still having issues, as 0.12.3 (or the sass downgrade) is causing other errors in my site build. Is there another solution that doesn't require any downgrades? Thanks


Upgrading SASS from 3.2.17 to 3.2.18 fixed the issue for me. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment