#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2008
    Posts
    75
    Rep Power
    9

    Firebird 2.1 in ubuntu IO permission issue


    Hi Everybody,

    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 ***
    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 "/var/test"
    Error while trying to create file
    Permission denied


    i am new to linux ... please help me to solve this ...
    thanks in advance...
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2006
    Location
    Plovdiv. Bulgaria
    Posts
    226
    Rep Power
    12
    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.

IMN logo majestic logo threadwatch logo seochat tools logo