PHP cannot upload files
Colin Walters
walters at redhat.com
Sat Nov 20 17:34:46 UTC 2004
On Sat, 2004-11-20 at 09:51 +0100, dragoran wrote:
> I cannot upload files via php (selinux=enabled;policy=targeted).
> php shows this error:
> *Warning*: File upload error - unable to create a temporary file in
> *Unknown* on line *0
> *And in dmesg I found this error:
> audit(1100940427.918:0): avc: denied { write } for pid=9202
> exe=/usr/sbin/httpd name=tmp dev=hda3 ino=24
> scontext=root:system_r:httpd_t tcontext=root:object_r:root_t tclass=dir
Do you have /tmp on a separate filesystem? What does:
ls -Z /tmp
show?
More information about the fedora-selinux-list
mailing list