# Noob SASS error (permission denied)

**URL:** <https://www.ruby-forum.com/t/noob-sass-error-permission-denied/138624>\
**Category:** Rails\
**Created:** [May 26, 2008, 2:33am UTC](https://www.ruby-forum.com/t/noob-sass-error-permission-denied/138624 "2008-05-26T02:33:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [May 26, 2008, 2:33am UTC](https://www.ruby-forum.com/t/noob-sass-error-permission-denied/138624/1 "2008-05-26T02:33:07Z")

</div>

I just created the sass directory in my stylesheets directory and  
when  
I reload my page I get this error:

Status: 500 Internal Server Error  
Permission denied - /Users/Justin/kicksite/trunk/public/  
stylesheets/  
application.css  
/usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb:  
72:in `initialize' /usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb: 72:in`open’  
/usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb:  
72:in `update_stylesheets' /usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb: 46:in`each’  
/usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb:  
46:in `update\_stylesheets’

How do I set the correct permissions?

---

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [May 26, 2008, 4:39am UTC](https://www.ruby-forum.com/t/noob-sass-error-permission-denied/138624/2 "2008-05-26T04:39:31Z")

</div>

Check the permissions are the same as what they are on the other public  
directories.

On Mon, May 26, 2008 at 10:02 AM, jko170 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 72:in `initialize’
> 
> >

–  
Appreciated my help?  
Recommend me on Working With Rails  
[http://workingwithrails.com/person/11030-ryan-bigg](http://workingwithrails.com/person/11030-ryan-bigg)

---

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [May 26, 2008, 6:58am UTC](https://www.ruby-forum.com/t/noob-sass-error-permission-denied/138624/3 "2008-05-26T06:58:06Z")

</div>

Yep, all of them are 755.

On May 25, 9:38 pm, “Ryan B. (Radar)” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [May 26, 2008, 7:05am UTC](https://www.ruby-forum.com/t/noob-sass-error-permission-denied/138624/4 "2008-05-26T07:05:43Z")

</div>

And the owners are?

On Mon, May 26, 2008 at 2:27 PM, jko170 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > On Mon, May 26, 2008 at 10:02 AM, jko170 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > 72:in `initialize’
> > 
> > –  
> > Appreciated my help?  
> > Recommend me on Working With Railshttp://  
> > [workingwithrails.com/person/11030-ryan-bigg](http://workingwithrails.com/person/11030-ryan-bigg)

–  
Appreciated my help?  
Recommend me on Working With Rails  
[http://workingwithrails.com/person/11030-ryan-bigg](http://workingwithrails.com/person/11030-ryan-bigg)

---

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [May 26, 2008, 7:06am UTC](https://www.ruby-forum.com/t/noob-sass-error-permission-denied/138624/5 "2008-05-26T07:06:19Z")

</div>

Also check the files within the directories.

On Mon, May 26, 2008 at 2:35 PM, Ryan B. (Radar)  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > > Check the permissions are the same as what they are on the other public
> > > 
> > > > Status: 500 Internal Server Error  
> > > > 46:in `each’
> 
> –  
> Appreciated my help?  
> Recommend me on Working With Rails  
> [http://workingwithrails.com/person/11030-ryan-bigg](http://workingwithrails.com/person/11030-ryan-bigg)

–  
Appreciated my help?  
Recommend me on Working With Rails  
[http://workingwithrails.com/person/11030-ryan-bigg](http://workingwithrails.com/person/11030-ryan-bigg)

---

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [May 26, 2008, 7:34am UTC](https://www.ruby-forum.com/t/noob-sass-error-permission-denied/138624/6 "2008-05-26T07:34:59Z")

</div>

All of the files are 644 and the owners are correct. Does this show  
what the problem might be?

command I entered: ls -la

total 88  
drwxr-xr-x 19 Justin Justin 646 Mar 20 11:01 .  
drwxr-xr-x 19 Justin Justin 646 Mar 18 10:49 …  
-rw-r–r-- 1 Justin Justin 6148 May 11 15:24 .DS\_Store  
-rw-r–r-- 1 Justin Justin 1337 Apr 23 13:03 .htaccess  
drwxr-xr-x 9 Justin Justin 306 May 13 12:34 .svn  
-rw-r–r-- 1 Justin Justin 947 Jan 18 13:13 404.html  
-rw-r–r-- 1 Justin Justin 930 Mar 10 11:42 422.html  
-rw-r–r-- 1 Justin Justin 947 Mar 10 11:43 500.html  
-rw-r–r-- 1 Justin Justin 61 Mar 20 11:01 blank\_iframe.html  
-rwxr-xr-x 1 Justin Justin 479 Jan 18 13:13 dispatch.cgi  
-rwxr-xr-x 1 Justin Justin 861 Jan 18 13:13 dispatch.fcgi  
-rwxr-xr-x 1 Justin Justin 479 Jan 18 13:13 dispatch.rb  
-rw-r–r-- 1 Justin Justin 0 Jan 18 13:13 favicon.ico  
drwxr-xr-x 47 Justin Justin 1598 May 25 17:16 images  
drwxr-xr-x 18 Justin Justin 612 May 23 12:18 javascripts  
-rw-r–r-- 1 Justin Justin 204 Mar 10 11:43 robots.txt  
drwxr-xr-x 4 Justin Justin 136 Jan 18 13:13 sounds  
drwxr-xr-x 10 Justin Justin 340 May 25 18:52 stylesheets  
drwxrwxrwx 3 Justin Justin 102 Feb 21 20:07 uploads

On May 26, 12:05 am, “Ryan B. (Radar)” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
