Apps under fast cgi can't log or create files

Bug #632083 reported by Matt Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rootin Tootin
Fix Released
Critical
Unassigned

Bug Description

For some reason, if an application running under fast cgi tries to write to a log or file, it exits.

For now this means file uploads and application logging are not working when deployed under fastcgi.

Matt Jones (workhorsy)
summary: - Apps under fast cgi can't log or create files.
+ Apps under fast cgi can't log or create files
Revision history for this message
Matt Jones (workhorsy) wrote :

When running under fastcgi, the application is running under the user www-data. This user can't create files:

cd ~
sudo su
su www-data
touch test_file

results in:
touch: cannot touch `test_file': Permission denied

Matt Jones (workhorsy)
Changed in rester:
status: Confirmed → Fix Committed
Revision history for this message
Matt Jones (workhorsy) wrote :

We now chown the folder to www-data. Then the application can create files.

Matt Jones (workhorsy)
Changed in rester:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.