[Bug 723330] [NEW] rename() function didn't work with /tmp dir

2011-02-22 Thread Djalma Oliveira
Public bug reported:

Binary package hint: php5

I got a error message trying rename a dir from DOCUMENT_ROOT to /tmp/
dir.

Example: 
 rename(myfolder/, /tmp/myfolder/);

return this Fatal error message ( yes, it talk about copy() function but
I called rename() ):

  The first argument to copy() function cannot be a directory.

But,
 rename(myfolder/, myNEWfolder/);

it works fine inside the same DOCUMENT_ROOT path.


My enviroment:
PHP Version 5.3.3-1ubuntu9.3
Linux rock 2.6.35-26-generic #46-Ubuntu SMP Sun Jan 30 08:10:51 UTC 2011 i686
Apache/2.2.16 (Ubuntu)
Suhosin Patch 0.9.9.1
safe_mode = off

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: php5 5.3.3-1ubuntu9.3
ProcVersionSignature: Ubuntu 2.6.35-26.46-generic 2.6.35.10
Uname: Linux 2.6.35-26-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Tue Feb 22 16:13:37 2011
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: php5

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 maverick

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/723330

Title:
  rename() function didn't work with /tmp dir

-- 
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


[Bug 723330] Re: rename() function didn't work with /tmp dir

2011-02-22 Thread Djalma Oliveira
-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
https://bugs.launchpad.net/bugs/723330

Title:
  rename() function didn't work with /tmp dir

-- 
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


[Bug 723330] [NEW] rename() function didn't work with /tmp dir

2011-02-22 Thread Djalma Oliveira
Public bug reported:

Binary package hint: php5

I got a error message trying rename a dir from DOCUMENT_ROOT to /tmp/
dir.

Example: 
 rename(myfolder/, /tmp/myfolder/);

return this Fatal error message ( yes, it talk about copy() function but
I called rename() ):

  The first argument to copy() function cannot be a directory.

But,
 rename(myfolder/, myNEWfolder/);

it works fine inside the same DOCUMENT_ROOT path.


My enviroment:
PHP Version 5.3.3-1ubuntu9.3
Linux rock 2.6.35-26-generic #46-Ubuntu SMP Sun Jan 30 08:10:51 UTC 2011 i686
Apache/2.2.16 (Ubuntu)
Suhosin Patch 0.9.9.1
safe_mode = off

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: php5 5.3.3-1ubuntu9.3
ProcVersionSignature: Ubuntu 2.6.35-26.46-generic 2.6.35.10
Uname: Linux 2.6.35-26-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Tue Feb 22 16:13:37 2011
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: php5

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 maverick

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/723330

Title:
  rename() function didn't work with /tmp dir

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 723330] Re: rename() function didn't work with /tmp dir

2011-02-22 Thread Djalma Oliveira
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/723330

Title:
  rename() function didn't work with /tmp dir

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs