Re: svn: /phpdoc/en/trunk/reference/filesystem/functions/ rename.xml
| From: | Pierre Joye | Date: | Mon, 06 Sep 2010 10:49:56 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/reference/filesystem/functions/ rename.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-7064@lists.php.net to get a copy of this message | ||
hi,
On Mon, Sep 6, 2010 at 6:05 AM, Adam Harvey <aharvey@php.net> wrote:
> aharvey Mon, 06 Sep 2010 04:05:02 +0000
> Bug: http://bugs.php.net/50676 (To be documented) rename across
> Volumes throws warning "Operation not permitted"
>
> Changed paths:
> U phpdoc/en/trunk/reference/filesystem/functions/rename.xml
>
> Modified: phpdoc/en/trunk/reference/filesystem/functions/rename.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/filesystem/functions/rename.xml 2010-09-06 02:00:23 UTC (rev
> 303063)
> +++ phpdoc/en/trunk/reference/filesystem/functions/rename.xml 2010-09-06 04:05:02 UTC (rev
> 303064)
> @@ -87,8 +87,12 @@
> <row>
> <entry>4.3.3</entry>
> <entry>
> - <function>rename</function> is now able to rename files across
> - partitions on *nix based systems.
> + <function>rename</function> may now be able to rename files across
> + partitions on *nix based systems, provided the appropriate permissions
> + are held.
It works just as fine as well on Windows. We use the option called
'MOVEFILE_COPY_ALLOWED', see:
http://msdn.microsoft.com/en-us/library/aa365240%28VS.85%29.aspx
for a detailed explanation :)
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org