On Oct 3, 2011, at 20:07, Scott Gifford wrote: >> Or why not make your app create the file in the final destination in the first place. then rename it there. > The PHP system libraries handle the file upload itself, and PHP code doesn't run until the file is uploaded. So there isn't really a practical way to do this without jumping pretty far outside of PHP norms. You can change the temporary directory for uploaded files through the upload_tmp_dir php.ini option. Maybe that could help. -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux