[Owncloud] Re: Review Request: When moving a file from a temporary location, also update the file access/modification times.

Robin Appelman icewind1991 at gmail.com
Mon Mar 14 15:36:27 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100853/#review1942
-----------------------------------------------------------


If the modify/access times are updated on fromTmpFile, shouldn't it also be done on toTmpFile?

- Robin


On March 14, 2011, 2:55 a.m., Matthew John Dawson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100853/
> -----------------------------------------------------------
> 
> (Updated March 14, 2011, 2:55 a.m.)
> 
> 
> Review request for ownCloud.
> 
> 
> Summary
> -------
> 
> When PHP moves a file across filesystem boundaries, it does not update the access/modification times.  Thus do it manually so that this information is not lost.
> 
> 
> Diffs
> -----
> 
>   inc/lib_filestorage.php 06ce26f0d23df0414883152a14e027ac405701f7 
> 
> Diff: http://git.reviewboard.kde.org/r/100853/diff
> 
> 
> Testing
> -------
> 
> Tested with moving with /tmp and owncloud's data directory being on different filesystems.  Also tested with file being on the same filesystem.  In both cases data was preserved.
> 
> 
> Thanks,
> 
> Matthew John
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20110314/4d06633a/attachment.html>


More information about the Owncloud mailing list