6.0.0-alpha12
6/8/25

[#11391] Syncml uses a fix directory
Summary Syncml uses a fix directory
Queue Horde Base
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester peter.meier+horde (at) immerda (dot) ch
Created 08/31/2012 (4664 days ago)
Due
Updated 10/18/2012 (4616 days ago)
Assigned
Resolved 10/18/2012 (4616 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
10/18/2012 10:33:24 AM Jan Schneider Comment #4
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Merged to master
08/31/2012 08:03:47 PM peter (dot) meier+horde (at) immerda (dot) ch Comment #3 Reply to this comment
Not necessary, this is only for debugging purposes.
Yes, it is also just a warning, although I still think it's a warning 
that can be avoided as it might lead to conufsion on production 
servers seeing something like that:

2012-08-31T19:17:33+02:00 WARN: HORDE [horde] PHP ERROR: is_dir() [<a 
href='function.is-dir'>function.is-dir</a>]: open_basedir restriction 
in effect. File(/tmp/sync) is not within the allowed path(s): 
(/var/www/vhosts/horde.example.com/www/:/var/www/vhosts/horde.example.com/pear:/var/www/upload_tmp_dir/horde.example.com/:/var/www/session.save_path/horde.example.com/:/var/www/vhosts/horde.example.com/logs/:/var/www/vhosts/horde.example.com/tmp/:/etc/resolv.conf:/.pearrc) [pid 13430 on line 281 of 
"/var/www/vhosts/horde.example.com/pear/php/Horde/SyncMl/Backend.php"]

Relevant settings were:

$conf['activesync']['logging']['type'] = 'horde';

and global options were like:

$conf['log']['priority'] = 'INFO';
$conf['log']['ident'] = 'HORDE';

08/31/2012 06:33:37 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
Not necessary, this is only for debugging purposes.
08/31/2012 05:55:25 PM peter (dot) meier+horde (at) immerda (dot) ch Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Syncml uses a fix directory
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ Yes
State ⇒ Unconfirmed
Reply to this comment
In the syncml code you can find usage of a fixed location to write 
things to (/tmp/sync), this directory might not be accessible due to 
open base dir restrictions -> we should use horde's builtin tmp 
function.

Pull request: https://github.com/horde/horde/pull/17

Saved Queries