This just happened that drove me crazy for almost 2 hours: I run firebird 2.5 at my server and I have a specific directory in my home where I put the databases for the daemon to read.
This directory is owned by firebird:firebird as all the databases inside and has 700 permissions (the dbs files have 600).
A few days ago I removed the list permission from my home directory chmod o-x xxx and today Firebird started to refuse to open the databases with:
-Error while trying to open file
-Permission denied
It took me a while to connect the two things because:
- The databases inside were owned by the correct firebird user.
- The parent directory were also owned by firebird.
- All the permissions were ok.
- I always believed you can have a parent directory with less permissions than a child.
So this is "somewhat" a firebird bug and I shall report it or it's my bad?