[Tickets #9497] VFS ssh2 _listFolder() does not return listing with non-Bourne shells
bugs at horde.org
bugs at horde.org
Sat Jan 8 00:55:26 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9497
------------------------------------------------------------------------------
Ticket | 9497
Created By | lstewart at room52.net
Summary | VFS ssh2 _listFolder() does not return listing with
| non-Bourne shells
Queue | Horde Framework Packages
Version | FRAMEWORK_3
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch | 1
Owners |
+New Attachment | horde3_vfs_ssh2_env.patch
------------------------------------------------------------------------------
lstewart at room52.net (2011-01-07 19:55) wrote:
See this mailing list thread for details:
http://thread.gmane.org/gmane.comp.horde.user/23294
The summary is that non-Bourne shells don't interpret a command of the
form "ENV_VAR=VAL command", where "ENV_VAR=VAL" is attempting to set
an environment variable for "command" to run with.
The solution is to use the env command to set the environment
variables and run the target command like so: "env ENV_VAR=VAL command".
The attached patch has been tested to work with tcsh on FreeBSD 8
running horde 3.3.11. As discussed in the email thread, another horde
user running linux confirmed my analysis to be correct by switching
his shell to tcsh and observed that the bug manifested itself until he
switched back to using bash.
More information about the bugs
mailing list