#21425 [Fbk->Csd]: rename() - interesting behaviour

From: Date: Sun, 05 Jan 2003 14:26:11 +0000
Subject: #21425 [Fbk->Csd]: rename() - interesting behaviour
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29109@lists.php.net to get a copy of this message
ID: 21425 User updated by: linux@psoftwares.hu Reported By: linux@psoftwares.hu -Status: Feedback +Status: Closed Bug Type: Filesystem function related Operating System: Debian GNU/Linux PHP Version: 4.3.0 New Comment: solved the problem... there were really no problems, just didn't realize a bug in my script ;( sorry for the inconvenience... Previous Comments: ------------------------------------------------------------------------ [2003-01-05 07:38:27] derick@php.net Assuming that you run this script with the Command Line version (not through your webserver), can you run: strace php yourscript.php and put this output somewhere online? We should be able to figure out what fails in the script. Derick ------------------------------------------------------------------------ [2003-01-05 07:34:55] linux@psoftwares.hu perms of the file: -rw-r--r-- 1 phanatic phanatic 99 Jan 5 10:36 users perms of the dir: drwxr-xr-x 5 phanatic phanatic 4096 Jan 5 12:06 temp but in my opinion, if this happens because of the permissions, then why does the second script work? thanx in advance... ------------------------------------------------------------------------ [2003-01-05 07:24:20] nicos@php.net Can you please show us the permission of the directory and of the files please? It looks I really CAN NOT reproduce it there... Thank you. ------------------------------------------------------------------------ [2003-01-05 07:21:23] linux@psoftwares.hu the file is there, i'm sure about it... and the script itself is in '/home/phanatic/temp', too!!! so it's not a bogus in my opinion... just test it yourself. ------------------------------------------------------------------------ [2003-01-05 07:13:40] nicos@php.net The error is clear it can't find /home/phanatic/temp/users, probably because of permissions or probably because it's NOT the good directory. Are you sure ./ is /home/phanatic/temp/? Anyway this is bogus, if you need any help please take a look at http://www.php.net/support.php . Thank you for your report. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21425 -- Edit this bug report at http://bugs.php.net/?id=21425&edit=1

« previous php.bugs (#29109) next »