July 14th, 2011, 01:26 AM
Firebird 2.1 in ubuntu IO permission issue
I am just trying to install firebird on a linux box (ubuntu 11.04 natty).
I have followed this page to install.
I have installed and using isql-fb, issued some SELECT statement against the employee.fdb as stated in the document. Its all worked fine.
Now , when i am trying to create a db , im getting following IO permission error.
** IBPP::SQLException ***
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 "/var/test"
Error while trying to create file
i am new to linux ... please help me to solve this ...
thanks in advance...
July 14th, 2011, 08:32 AM
you must have permissions to "write" in that direcotry.
You can change the owner of that directory to the user you are starting Firebird with. For that use chown command.
Or give read/write permissions to everyone for that directory. This is not very good, but for testing you it's OK.
Last edited by mIRCata; July 14th, 2011 at 08:38 AM.