[Rails] Using Logger to Create a Root-Owned Log File
I have an application which I want to write log entries to its own
separate log file in the log directory. Of course the log directory
is owned by root and has permissions 755. I was expecting that Logger
would operate setuid root or something similar so that it would be
able to write log entries to root-owned log directories. I find that
is not the case. Any ideas how I can get Logger to write to the root-
owned log directory?
Thanks for any input.
... doug
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home