<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Horde/Vfs/File.php _connect() doesn&#039;t work for existing directories</title> 
  <pubDate>Fri, 10 Apr 2026 09:50:06 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/10584</link> 
  <atom:link rel="self" type="application/rss+xml" title="Horde/Vfs/File.php _connect() doesn&#039;t work for existing directories" href="https://bugs.horde.org/ticket/10584/rss" /> 
  <description>Horde/Vfs/File.php _connect() doesn&#039;t work for existing directories</description> 
 
   
   
  <item> 
   <title>if a directory exist and is readable a excption is thrown we</title> 
   <description>if a directory exist and is readable a excption is thrown were it shouldn&#039;t be

let&#039;s have a look:

/tmp directory exist and is readable for world

if (!(@is_dir($this-&gt;_params[&#039;vfsroot&#039;]) &amp;&amp;
              is_readable($this-&gt;_params[&#039;vfsroot&#039;])) ||
            !@mkdir($this-&gt;_params[&#039;vfsroot&#039;])) {

then we got
if (!(true &amp;&amp; true) || !false) {

so we got a resulting true and the exception is thrown and thats not right if dir exist</description> 
   <pubDate>Fri, 30 Sep 2011 17:22:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10584#t67817</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #10584: </title> 
   <description>Changes have been made in Git for this ticket:

Bug #10584:  Fix using File driver if vfsroot directory already exists

 3 files changed, 62 insertions(+), 6 deletions(-)
http://git.horde.org/horde-git/-/commit/fe54b5b9583e6f1121950fad73697ca423a34a8f</description> 
   <pubDate>Fri, 30 Sep 2011 18:33:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10584#t67831</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
