On 10/5/06, Jan Baggen <jbaggen@xxxxxx> wrote: > > I'm trying to get file_manager 2.0 working on SquirrelMail 1.4.8. > The function move_uploaded_file is trying to move the file to / > which is not allowed. > > My file_manager.users: > user1 /usr/local/squirrelmail/files/user1 1MB help@xxxxxx 1 1 0 > > PHP logging from file_manager.php: > > Warning: Invalid argument supplied for foreach() in > /usr/home/s/studenten/htdocs/student/plugins/file_manager/file_manager.php > on line 199 > > Warning: exec() [function.exec]: Cannot execute a blank command in > /usr/home/s/studenten/htdocs/student/plugins/file_manager/file_manager.php > on line 1433 > > Warning: move_uploaded_file(/MYIMAGE.bmp) [function.move-uploaded-file]: > failed to open stream: Permission denied in > /usr/home/s/studenten/htdocs/student/plugins/file_manager/file_manager.php > on line 1488 > > Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move > '/tmp/phpwRGeCP' to '/MYIMAGE.bmp' in > /usr/home/s/studenten/htdocs/student/plugins/file_manager/file_manager.php > on line 1488 Are you using File Manager to be able to browse the server all the way up to the root ("/") directory?? This is somewhat risky. If you want to be able to upload files to / then you have to set the right permissions to do so. Refer to the README file where it talks about dir permisssions and ownership. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users