When ever I try to connect with Firebird SQL I get this error,
firebird$ isql-fb 'db.FDB' -u SYSDBA -p <PASS>
Statement failed, SQLSTATE = 08001
I/O error during "open" operation for file "CAFW.FDB"
-Error while trying to open file
-Permission denied
Use CONNECT or CREATE DATABASE to specify a database
What can I do to resolve it, I've already ensured that my current user has read/write access to the file.
$ sudo chown firebird:firebird ./db.FDB
$ sudo chmod 770 ./db.FDB # should only need 660
$ ls -lah
-rw-rw---- 1 firebird firebird 53M May 2 17:13 CAFW.FDB