r557
December 5th, 2008, 04:28 PM
I seem to be encountering some odd permissions issues with Ubuntu 8.10 desktop with php, mysql, apache2 loaded on it.
My complete /var/www/ is permissioned as 0777 (it's a development machine on a virtualbox so i'm not overally concerned about Security).
Everytime i attempt to do a file upload through a php script, i'm consistantly being told permission denied. However, when i view the file directories permissions, they're all 0777.
Any ideas?
PHP Errors from Wordpress
Warning: move_uploaded_file(/monn-78746.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /var/www/wp-content/plugins/wordtube/admin/functions.php on line 117
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpo0gOpi' to '/monn-78746.jpg' in /var/www/wp-content/plugins/wordtube/admin/functions.php on line 117
My complete /var/www/ is permissioned as 0777 (it's a development machine on a virtualbox so i'm not overally concerned about Security).
Everytime i attempt to do a file upload through a php script, i'm consistantly being told permission denied. However, when i view the file directories permissions, they're all 0777.
Any ideas?
PHP Errors from Wordpress
Warning: move_uploaded_file(/monn-78746.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /var/www/wp-content/plugins/wordtube/admin/functions.php on line 117
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpo0gOpi' to '/monn-78746.jpg' in /var/www/wp-content/plugins/wordtube/admin/functions.php on line 117