Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #5788 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Webrick process UID change during startup

Reported by: rugowski@nhw.pl Assigned to: David
Priority: low Milestone:
Component: Railties Version:
Severity: minor Keywords: webrick
Cc:

Description

This patch adds option to change UID of Webrick process during startup. UID change has to be supported on current platform (does not work on Windows) and current UID has to have right to do such change (OS level)

I'm using a few low volume traffic Rails application running with Webrick, and I needed a convenient way to run app with different UID than root ;-) Well if not useful for anyone feel free to discard this patch ;-))

Attachments

webrick_uid_change.patch (1.5 kB) - added by rugowski@nhw.pl on 08/17/06 09:12:37.

Change History

08/17/06 09:12:37 changed by rugowski@nhw.pl

  • attachment webrick_uid_change.patch added.

08/17/06 09:24:56 changed by anonymous

webrick as root? are you nuts? ;P good going