Apps under fast cgi can't log or create files
Bug #632083 reported by
Matt Jones
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.
summary: |
- Apps under fast cgi can't log or create files. + Apps under fast cgi can't log or create files |
Changed in rester: | |
status: | Confirmed → Fix Committed |
Changed in rester: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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