> The easiest way to solve this is to try a "chmod a+w -R", on /var/ 
> www/apps/nomore/current/cache/ .

OK, I tried that and it worked. So that appears to have sourced the  
problem.

> But be aware of security issues.

Indeed. Here is the output from running 'ls -al' from my app  
directory on the server (after resetting permissions with  "chmod 775  
cache"):

drwxrwxr-x  3 deploy deploy       4096 Dec  5 23:09 cache
drwxrwxr-x  4 deploy deploy       4096 Dec  5 23:09 config
drwxrwxr-x  3 deploy deploy       4096 Dec  5 23:09 db
drwxrwxr-x  7 deploy deploy       4096 Dec  5 23:09 public
drwxrwxr-x  5 deploy deploy       4096 Dec  5 23:09 script
drwxrwxr-x  6 deploy app_nomore   4096 Dec  5 23:09 tmp
drwxrwxr-x  5 deploy deploy       4096 Dec  5 23:09 vendor

I notice that the tmp/ directory has different ownership group from  
all other directories. So I tried running "sudo chgrp app_nomore  
cache/", which changed to:

drwxrwxr-x  3 deploy app_nomore   4096 Dec  5 23:09 cache
...
drwxrwxr-x  6 deploy app_nomore   4096 Dec  5 23:09 tmp

Which also works. Does this avoid the security issues mentioned above?

I guess I just have to work out how to add that command to my  
deploy.rb file as a capistrano task now.

Thanks for the tip Aitor!

Drew
_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to