#46946 [Opn->Bgs]: Permission problems with rename() and mkdir()
| From: | jani@php.net | Date: | Fri, 26 Dec 2008 17:45:20 +0000 |
| Subject: | #46946 [Opn->Bgs]: Permission problems with rename() and mkdir() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132316@lists.php.net to get a copy of this message | ||
ID: 46946
Updated by: jani@php.net
Reported By: wanda dot movimenta at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: Linux hm635 2.6.9-67.0.15
PHP Version: 5.2CVS-2008-12-26 (snap)
New Comment:
Most likely ISP bug. Anyway, let the ISP folks report it as they're
the ones who can give proper feedback and possibly test any
snapshots.
Previous Comments:
------------------------------------------------------------------------
[2008-12-26 16:51:11] wanda dot movimenta at gmail dot com
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 this bug report at http://bugs.php.net/?id=46946&edit=1