note 106654 added to function.copy
| From: | nikonier at osu1 dot php dot net | Date: | Thu, 24 Nov 2011 21:22:46 +0000 |
| Subject: | note 106654 added to function.copy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184666@lists.php.net to get a copy of this message | ||
I tried to copy a file from /tmp to /var/www/html.
But i always get an permission denied (even after a chmod 0777 to the /var/www/html directory)
After spending a lot of hours searching for my error, I found it.
But not where I thought it....It was the turned on SELinux.
(Fedora 15).So i do a echo 0 >/selinux/enforce and everything works perfect. (Look here for
disabling SELinux: http://www.crypt.gen.nz/selinux/disable_selinux.html)
regards,
Juergen
----
Server IP: 69.147.83.197
Probable Submitter: 188.107.237.94
----
Manual Page -- http://www.php.net/manual/en/function.copy.php
Edit -- https://master.php.net/note/edit/106654
Del: integrated -- https://master.php.net/note/delete/106654/integrated
Del: useless -- https://master.php.net/note/delete/106654/useless
Del: bad code -- https://master.php.net/note/delete/106654/bad+code
Del: spam -- https://master.php.net/note/delete/106654/spam
Del: non-english -- https://master.php.net/note/delete/106654/non-english
Del: in docs -- https://master.php.net/note/delete/106654/in+docs
Del: other reasons-- https://master.php.net/note/delete/106654
Reject -- https://master.php.net/note/reject/106654
Search -- https://master.php.net/manage/user-notes.php