From: wanda dot movimenta at gmail dot com Operating system: Linux hm635 2.6.9-67.0.15 PHP version: 5.2CVS-2008-12-26 (snap) PHP Bug Type: PHP options/info functions Bug description: Permission problems with rename() and mkdir()
Description: ------------ I've wrote a script which, at first, used mkdir() to create folders, and after receive files using the rename() function. But I had problems with permissions because the folder and it's files receveid diferent owner and group and the permissions were rw-------. Well I've changed my program to create the folders through ftp_mkdir (). In the folder worked. But after using rename() function to transfer files the files owner's and group's stay different from the folder, and the permissions are rw-------. My ISP says that this is a PHP bug and they are trying to solve it. Well I'd like to know if this is really a PHP bug or an "ISP bug". I'd like to know if there is a solution just to tell my Internet Service Provider. You can see information about php environment using this link: http://www.movimenta.com.br/testephp.php Thanks in advance -- Edit bug report at http://bugs.php.net/?id=46946&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46946&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46946&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46946&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46946&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46946&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46946&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46946&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46946&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46946&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46946&r=support Expected behavior: http://bugs.php.net/fix.php?id=46946&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46946&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46946&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46946&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46946&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46946&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46946&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46946&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46946&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46946&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46946&r=mysqlcfg
