Guess I shouldn't have been so eager to close this bug. @Nicolas: Thanks for reopening it and providing the needed version information.
I can confirm this issue on Ubuntu 8.04 (libapache2-mod-php5: 5.2.4-2ubuntu5.5). As Hark mentions this bug only seems to affect the case when the php upload_tmp_dir is on the same file system as the file's destination. The php versions in Ubuntu 8.10 and 9.04 seems to obey the set umask just fine. ** Changed in: php5 (Ubuntu) Status: New => Confirmed -- 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 Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs