Saturday, March 16, 2013

Re: [Rails] RoR on CentOS 5, file permissions

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. 

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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/PbyxilO05fMJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate