Unhandled exception. FirebirdSql.Data.FirebirdClient.FbException (0x80004005): operating system directive access failed
/tmp/firebird/
---> FirebirdSql.Data.Common.IscException: operating system directive access failed
/tmp/firebird/
at FirebirdSql.Data.Client.Native.StatusVectorHelper.ProcessStatusVector(IntPtr[] statusVector, Charset charset, Action`1 warningMessage)
at FirebirdSql.Data.Client.Native.FesDatabase.ProcessStatusVector(Charset charset)
at FirebirdSql.Data.Client.Native.FesDatabase.Attach(DatabaseParameterBufferBase dpb, String database, Byte[] cryptKey)
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect()
at FirebirdSql.Data.FirebirdClient.FbConnection.Open()
at Sogic.Core.Common.DatabaseHelper.GetConnection(String filePath) in /Volumes/Repos_APFS/source/electron/sogic-electron-firebird/sogic-core/Common/DatabaseHelper.cs:line 77
at Program.<Main>$(String[] args) in /Volumes/Repos_APFS/source/electron/sogic-electron-firebird/sogic/Program.cs:line 246
at Program.<Main>$(String[] args) in /Volumes/Repos_APFS/source/electron/sogic-electron-firebird/sogic/Program.cs:line 264
at Program.<Main>(String[] args)
Process finished with exit code 134.
I built the app just now to run as a MacOS app store app, meaning that it runs in the application sandbox. Running in this manner the application works as expected even
with Firebird server up and running and it uses my in-app settings for the tmp directories specified in the environment variables. I didn't expect that to work at all but happily it does.
Following Mark Rotteveel's suggestion I added my user name to the firebird group and embedded is now working while i'm developing the application. All is well, thanks everyone for your collective assistance!
To add your user to the firebird group on a mac:
sudo dscl . append /Groups/groupname GroupMembership username