[Resin-interest] User resin runs as

2010-03-08 Thread Peter Amiri
Is there a way to modify the user that Resin runs at per virtual host? I know that we can overwrite the User setting in resin.conf to make the server run as some other user than root, but what I want to know is if there is a way to specify the user setting within each virtual host entry. Here i

Re: [Resin-interest] User resin runs as

2010-03-08 Thread SpliFF
You're running resin as root?? You should be slapped. Run as apache, resin or nobody, never root. To answer your question you could create a group called 'web' and add your clients and resin to that group. Adjust umasks to create directories as 775 and files as 664. Alternatively run multiple ins