On Saturday, March 16, 2013 5:53:14 PM UTC, Jussi Hirvi wrote: > > On Friday, March 15, 2013 9:59:24 PM UTC+2, Frederick Cheung wrote: >> >> You can configure which user your ruby code runs at. Whatever user that >> is clearly needs read access to your app (and possibly write access to tmp) >> > > I found a way to do this - using the Process::UID module. > http://ruby-doc.org/core-2.0/Process/UID.html > > Where should i put this in my project? And would it be harmful to use the > "apache" user - same as Apache/Passenger? That would simplify setting the > permissions in the project directory. > > You should just be able to set this in the virtual host configuration.
Fred > BTW, why cannot I post in this group with Thunderbird? Those emails just > vanish and never get to the group. I can only post with browser, using > groups.google.com. Is this normal? > > - Jussi > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/VOt7j6Cl3YsJ. For more options, visit https://groups.google.com/groups/opt_out.

