logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: PHP cannot upload files: msg#00081

Subject: Re: PHP cannot upload files
Colin Walters schrieb:

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?


--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list


/tmp is on the root filesystem...
ls -Z /tmp shows this:
------------------------------------------------------------------------------------------------
-rw-rw-r--  dragoran dragoran user_u:object_r:root_t           Acro8ip1Sz
drwx------ dragoran dragoran user_u:object_r:root_t gconfd-dragoran
drwx------  root     root     root:object_r:root_t             gconfd-root
drwxr-xr-x dragoran dragoran user_u:object_r:root_t hsperfdata_dragoran drwx------ dragoran dragoran user_u:object_r:root_t keyring-1zTHrf drwx------ dragoran dragoran user_u:object_r:root_t keyring-59xIh9 drwx------ dragoran dragoran user_u:object_r:root_t keyring-OEkx5a drwx------ dragoran dragoran user_u:object_r:root_t keyring-YxzPaV -rw------- root root root:object_r:root_t libGL.la-8tPn7h srwxrwxr-x dragoran dragoran user_u:object_r:root_t mapping-dragoran
-rw-------  dragoran dragoran user_u:object_r:root_t           nsmail.eml
-rw-------  dragoran dragoran user_u:object_r:root_t           nsmail.html
-rw-------  dragoran dragoran user_u:object_r:root_t           nsmail.tmp
-rw-------  root     root     root:object_r:root_t             nv-5Lurw0
-rw-rw-r--  dragoran dragoran user_u:object_r:root_t           nvclock
drwx------ dragoran dragoran user_u:object_r:root_t orbit-dragoran
drwx------  root     root     root:object_r:root_t             orbit-root
drwxr-xr-x  root     root     root:object_r:root_t             selfgz3945
drwxr-xr-x  root     root     root:object_r:root_t             selfgz4237
drwx------ dragoran dragoran user_u:object_r:root_t ssh-ICLNfV3471 drwx------ dragoran dragoran user_u:object_r:root_t ssh-lYueV15584 -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.66SRLi -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.7jh0Kd -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.bmLq1J -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.CBjOzp -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.IhxdpD -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.J6JXxG -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.JqB0Yr -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.mq2fk5 -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.niYKSn -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.nsJ6HX -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.Rl6HB6 -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.tIuAjd -rw------- dragoran dragoran user_u:object_r:root_t xses-dragoran.zAFUiz
-----------------------------------------------------------------------------------------------------------



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation