PDA

View Full Version : Default Rails app permissions?


b0bby
09-26-2006, 04:42 AM
As a guide for newbies like me, maybe someone can post generic permissions for the different folders/files in a Rails app. I am using Apache/FastCGI.

I've been trying to get Mephisto to run on my VPS, some minor permission problems remain. These are what I have so far:

chmod 0775 db
chmod 0777 log
chmod 0775 public
chmod 0666 log/*.log

Also added this:
chown -R apache public

Mephisto works (mostly), but it throws some errors, like when trying to install a new theme in the admin section.

A couple of useful links for permissions:
http://railswiki.involution.com/index.php/Main_Page
http://www.tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on-mac-os-x-tiger-for-beginners

Bobby