Hello,

First, let me appologise for double post, but mr. Neto asked me to
post again.
Regarding ~/.profile - I have checked it (and every other file alike),
and I didn't find anything that would set the umask/etc.

I have also tried with umask. Several times and configurations. No
success.
I have set the WSGIRestrictEmbedded setting now, but no changes.
My vhost: http://dpaste.com/hold/196538/

Thanks for your quick responses.
With regards, Črnko
On 19 maj, 01:07, Graham Dumpleton <[email protected]> wrote:
> On 19 May 2010 05:24, jinzo <[email protected]> wrote:
>
> > Hello,
>
> > I have an application that's now running with mod_wsgi 3.1 and apache
> > 2.2.15 in daemon mode. The application (Django) allows for file
> > uploads, and recently I started to get some errors. It turned out,
> > that the files I upload (and are written thru the application) all
> > have only read and write permissions for owner, and nothing else. I
> > tried several things (from removing to changing umask, ...) and I
> > still get this efect, but not always.
> > Any ideas what I'm doing wrong ?
>
> Try setting 'umask' option for WSGIDaemonProcess.
>
>  http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDae...
>
> Also ensure you have actually delegated it properly to run in daemon
> mode by setting:
>
>   WSGIRestrictEmbedded On
>
> outside of VirtualHost in Apache main configuration.
>
> Also post your Apache configuration snippets for mod_wsgi so can
> verify how you have set it up and whether for example you are actually
> setting user/group to WSGIDaemonProcess to have code run as user other
> than Apache which perhaps restrictive permissions.
>
> Graham
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> 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 
> athttp://groups.google.com/group/modwsgi?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
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