Public bug reported: Binary package hint: php5
After calling move_uploaded_file a file should get permissions according to the set umask. When /tmp is on the same partition as the file's destination this doesn't happen, the file gets mode 600 making it unreadable by Apache. I think this bug was introduced in an upgrade a few weeks maybe months ago. This does remind me very much of an old (resolved) bug in PHP: http://bugs.php.net/bug.php?id=42291 ** Affects: php5 (Ubuntu) Importance: Undecided Status: New -- move_uploaded_file does not set right permissions (ignores umask) https://bugs.launchpad.net/bugs/294148 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs