1
ls -Z .
-rw-r--r--. ub book system_u:object_r:public_content_rw_t:s0 1.php
-rw-r--r--. ub book system_u:object_r:public_content_rw_t:s0 1.png
$raw_photo="1.png";
$web_photo="1n.png";
system("/bin/convert $raw_photo -resize 200 $web_photo");
?>
The php program listed above can be successfully executed on my
Fidora Linux workstation, but it fails while I execute it via. a web brower.
It should be a SElinux problem, but I have no idea how to resolve it.
It may be also the problem causing my Xoops2.5.5/news v.167 not
able to resize a png file after it is uploaded.
Please help, if you know how to resolve this problem.
jjkaotw