6.0.0-beta1
7/4/25

[#10528] unable to upload file to sqlhome
Summary unable to upload file to sqlhome
Queue Gollem
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester iron_hat (at) hotmail (dot) com
Created 09/17/2011 (5039 days ago)
Due
Updated 09/21/2011 (5035 days ago)
Assigned
Resolved 09/21/2011 (5035 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/21/2011 06:51:43 AM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
09/21/2011 06:51:38 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Bug #10528: autocreate directory when writing file

  1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/86d7bda3557044e4dec7b03085c39af228b6f10d
09/17/2011 03:15:38 AM iron_hat (at) hotmail (dot) com Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Gollem
Summary ⇒ unable to upload file to sqlhome
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
When a user first uses the sqlhome backend, it is impossible to upload 
a file due to the user's home directory not existing. This can be 
fixed in lib/Gollem.php on line 402:
         $gollem_vfs->write($dir, $name, $filename);
Should be changed to:
         $gollem_vfs->write($dir, $name, $filename, true);
to make use of the folder autocreate option.

Saved Queries