[Tickets #10584] Horde/Vfs/File.php _connect() doesn't work for existing directories
bugs at horde.org
bugs at horde.org
Fri Sep 30 17:22:15 UTC 2011
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: http://bugs.horde.org/ticket/10584
------------------------------------------------------------------------------
Ticket | 10584
Erstellt Von | michael at bigmichi1.de
Zusammenfassung | Horde/Vfs/File.php _connect() doesn't work for existing
| directories
Warteschlange | Horde Framework Packages
Version | Git master
Typ | Bug
Status | Unconfirmed
Priorität | 2. Medium
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
michael at bigmichi1.de (2011-09-30 17:22) hat geschrieben:
if a directory exist and is readable a excption is thrown were it shouldn't be
let's have a look:
/tmp directory exist and is readable for world
if (!(@is_dir($this->_params['vfsroot']) &&
is_readable($this->_params['vfsroot'])) ||
!@mkdir($this->_params['vfsroot'])) {
then we got
if (!(true && true) || !false) {
so we got a resulting true and the exception is thrown and thats not
right if dir exist
More information about the bugs
mailing list