>> > In my scenario, the emperor is running as root, as expected, but the
>> > vassal
>> > processes end up running as another user on our test server, not
>> > www-data.
>> > However, if remove the "emperor-tyrant = true" from the emperor
>> > configuration, the vassals do run as using the www-data user, as
>> > specified
>> > in the vassal configuration.
>> >
>>
>> Read the docs again what the tyrant mode is.
>>
>>
>> http://uwsgi-docs.readthedocs.org/en/latest/Emperor.html#tyrant-mode-secure-multi-user-hosting
>> » In Tyrant mode the Emperor will run the vassal with the UID/GID of
>> its configuration file «
>
>
> Yes, I saw that. But, maybe I'm missing something obvious, but nowhere in
> either of the configuration files am I specifying the "deploy" user, which
> is the user the vassals are running as. (Sorry, I guess I didn't indicate
> that the vassals were running as "deploy" in my original post.)
>
> (Incidentally, I found that statement in the docs a bit confusing...does
> that statement mean it's going to use the UID/GID of the emperor or the
> vassal configuration file? The use of the phrase "...its configuration
> file." isn't particularly clear.)
>

the owner/group of the file itself. ls -l the-vassal-file.ini

-- 
damjan
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to