well, the rake tasks are run by the deploying user, which is 'web' but i think that there are some cron tasks (--rotate for example) that are run by 'root'
i'll move everything to 'web' and i'll see where it's heading. Thnx. On May 23, 2:19 am, James Healy <[email protected]> wrote: > Pat Allan wrote: > > You need the web server and the rake tasks to be run by the same user > > - either both by root, or some other user of your choice. This should > > avoid any permissions issues. > > > The *easiest* way is probably to run the rake tasks with sudo - not > > convinced that's the *best* way though. Others may know better :) > > As a general rule you really don't want to run internet accessible > daemons as root. > > I personally use the Debian convention of www-data user and group for my > webserver, mongrels and cron triggered rake tasks. It doesn't matter too > much which user you use, just pick or create one with reduced > privileges. You want to minimise the impact of a malicious user finding > an exploitable bug in the prcess. > > -- James Healy <jimmy-at-deefa-dot-com> Sat, 23 May 2009 16:14:36 +1000 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
