[Tickets #3573] NEW: VFS::rename() does not auto-create directories
bugs@bugs.horde.org
bugs at bugs.horde.org
Tue Mar 7 22:54:19 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3573
-----------------------------------------------------------------------
Ticket | 3573
Created By | Michael Slusarz <slusarz at mail.curecanti.org>
Summary | VFS::rename() does not auto-create directories
Queue | Horde Framework Packages
Version | HEAD
State | Accepted
Priority | 3. High
Type | Bug
Owners |
-----------------------------------------------------------------------
Michael Slusarz <slusarz at mail.curecanti.org> (2006-03-07 22:54) wrote:
Orginally in Bug 3533:
> First, the attachment is correctly in <tempdir>/.horde/imp/compose/
> when composing.
> But when the message is sent, the code is supposed to move/rename it
> to <tempdir>/.horde/imp/attachments/<user>/<timestamp> but this only
> works if
> <tempdir>/.horde/imp/attachments/<user> already exists. If not, it
> silently fails
> without any notice/error/etc. I've "fixed" this in my version with a
> homemade patch
> where I do a recursive mkdir() on the path before trying to vfs->rename()
the
> file to it in imp/lib/Compose.php. I can supply my local patch if
requested.
This is a VFS issue, not an IMP issue. I will move this to another bug
report.
More information about the bugs
mailing list