title: Firebird Error while trying to create file, Permission denied
body: <p>I'm trying to create a <a href="http://www.firebirdsql.org/" rel="noreferrer">Firebird</a> database in my home directory through <a href="http://www.flamerobin.org/" rel="noreferrer">Flamerobin</a> however I always get</p>
  
  <pre><code>*** IBPP::SQLException ***
  Context: Database::Create
  Message: isc_dsql_execute_immediate failed
  
  SQL Message : -902
  Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements
  
  Engine Code    : 335544344
  Engine Message :
  I/O error during "open O_CREAT" operation for file "/home/user/test.fdb"
  Error while trying to create file
  Permission denied
  </code></pre>
  
  <p>even though the file is chmod 777, the file /etc/firebird/2.5/firebird.conf has been modified so that:</p>
  
  <pre><code>DatabaseAccess = Full
  </code></pre>
  
  <p>is set to allow access to all files.
  The service is running:</p>
  
  <pre><code>$ ps ax | grep fireb
   3909 ?        S      0:00 /usr/sbin/fbguard -daemon -forever -pidfile /var/run/firebird/2.5/fbserver.pid
  </code></pre>
  
  <p>even though strangely the netstat doesn't find the connection port:</p>
  
  <pre><code>netstat | grep 3050
  </code></pre>
  
  <p>and returns empty list.</p>
  
  <p>If I connect to an existing database all works, for instance connecting to </p>
  
  <pre><code>/var/lib/firebird/2.5/system/help.fdb
  </code></pre>
  
  <p>correctly shows tables.</p>