directory permissions

0 views
Skip to first unread message

Evan C

unread,
Jul 27, 2009, 9:22:31 AM7/27/09
to deprec - deployment recipes for capistrano
hi! I'm using a standard deprec configuration of REE, apache and
passenger.

My app uses haml and I was getting an Errno::EACCES error with the
standard installation. I had to 'chmod 777' the public/stylesheets
directory so haml would have write access.

before: drwxrwxr-x 3 deployer deployer 4096 2009-07-27 12:36
stylesheets
after: drwxrwxrwx 3 deployer deployer 4096 2009-07-27 12:36
stylesheets

I'm not very familiar with unix file permissions but I'm guessing this
could mean that either apache or passenger don't run as
'deployer' ... ?

Is there a setting in capistrano that I've overlooked? I'd prefer not
to have to change permissions after each deployment (even using
callbacks).

thanks
Evan
Reply all
Reply to author
Forward
0 new messages