[ 
https://issues.apache.org/jira/browse/WHIMSY-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305390#comment-16305390
 ] 

Sam Ruby commented on WHIMSY-169:
---------------------------------

No objections.  Make a pull request on infrastructure-puppet, and I will merge 
it?

> Define PassengerUser and PassengerGroup
> ---------------------------------------
>
>                 Key: WHIMSY-169
>                 URL: https://issues.apache.org/jira/browse/WHIMSY-169
>             Project: Whimsy
>          Issue Type: Improvement
>          Components: Core
>         Environment: data/nodes/whimsy-vm4.apache.org.yaml
>            Reporter: Sebb
>            Assignee: Sam Ruby
>            Priority: Minor
>
> The httpd config defines PassengerDefaultUser and Group but does not define 
> PassengerUser and Group.
> I assume we want the Passenger apps to run as the apache user/group 
> (www-data) so why not define PassengerUser/Group explicitly?
> AFAICT what happens at present is that the code checks the owner of the app 
> files. If that is root, it uses the default instead. It looks like the live 
> deployed files are all owned by root, so the default is used.
> However for local (test) deployments the files may well be owned by a local 
> user. This has the effect of running Passenger as the local user whilst the 
> rest of Whimsy runs as the apache user.
> This can cause problems with displaying the status.
> Seems to me it would be better to specify PassengerUser/Group so the 
> behaviour is predictable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to