Hello Everyone.
I have an issue to install moin wiki with mod_ruid.
Moin wiki is python based app and I start it via Apache and mod_wsgi.
All work fine without mod_ruid2. And also work fine if I manually change 
permission to the */var/run/wsgi/moin.32282.0.1.sock* file

> chown www-moin:www-moin /var/run/wsgi/moin.32282.0.1.sock
>
or

> chmod 777 /var/run/wsgi/moin.32282.0.1.sock
>

After restart permission changed and it looks:

> srwx------  1 www-data root       0 Jul 20 16:42 moin.32282.0.1.sock
>

My Apache config related settings:

>         RMode config
>         RUidGid www-moin www-moin
>         RGroups www-moin
>
>         WSGIScriptAlias /web/production/moin/wm/moin.wsgi
>         WSGIDaemonProcess moin user=www-moin group=www-moin processes=5 
> threads=10 maximum-requests=1000 umask=0007
>         WSGIProcessGroup moin
>

As I understand wsgi process start as Apache user (in my case www-moin) but 
maybe at first run(restart, reload) it starts as default Apache user ?

My question is how I can change sock file default permissions ?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/modwsgi/-/PFHu0mXmDtMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to