[Mongrel] Rails log file permissions

km at acrasis.net km at acrasis.net
Fri Mar 9 13:48:31 EST 2007


When I start a Rails server with

  $ mongrel_rails start --chdir ~/railsapp --port 3003 --pid \
      /home/me/railsapp/tmp/pids/mongrel.pid --daemonize

the server starts and opens two log files, development.log and
mongrel.log.  Both have permissions -rw-rw-rw-.

If I omit --deamonize, it opens one log file, development.log, with
permissions -rw-r--r--.

I would like to make the server use permissions of my choice in
either case.  How to do that?

Thanks
-- 
KM



More information about the Mongrel-users mailing list