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

Matthew John Dawson matthew at mjdsystems.ca
Mon Mar 14 02:55:50 UTC 2011


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

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/eb61d6e4/attachment.html>


More information about the Owncloud mailing list