Recent

Author Topic: FDB problem  (Read 5456 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2259
    • Lazarus and Free Pascal italian community
FDB problem
« on: October 19, 2010, 10:12:08 am »
Debugger Exception Notification

Project project1 raised exception class 'EIBDDatabaseErro' with message:
MiaConnessione : DoInternalConnect:
-I/O error during "open" operation for file "/home/francesco/firebird-db/DB_MyCinema.FDB"
-Errore while trying to open file
-Permission denied





Why?  :o :o
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2259
    • Lazarus and Free Pascal italian community
Re: FDB problem (SOLVED)
« Reply #1 on: October 19, 2010, 10:13:59 am »
Sorry, i solved the problem with:


sudo chmod 777 DB_MyCinema.FDB
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xenblaise

  • Sr. Member
  • ****
  • Posts: 358
Re: FDB problem
« Reply #2 on: October 19, 2010, 01:06:24 pm »
nice post :D

xinyiman

  • Hero Member
  • *****
  • Posts: 2259
    • Lazarus and Free Pascal italian community
Re: FDB problem
« Reply #3 on: October 19, 2010, 01:38:11 pm »
Sorry!  :-[
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

BlueIcaro

  • Hero Member
  • *****
  • Posts: 827
    • Blog personal
Re: FDB problem
« Reply #4 on: October 19, 2010, 01:48:35 pm »
Sorry!  :-[

Don't worry, if you found the solution to your ask, it's good post it, because someone how had the sameproblem, can see the solution.

/BlueICaro

bobo

  • Full Member
  • ***
  • Posts: 171
Re: FDB problem
« Reply #5 on: October 19, 2010, 06:30:49 pm »
And he solved it under 2 minutes :)   Nice

xenblaise

  • Sr. Member
  • ****
  • Posts: 358
Re: FDB problem
« Reply #6 on: October 19, 2010, 07:03:35 pm »
Quote
Errore while trying to open file
-Permission denied

Understandable that the file is locked, 2mins is fine. :D

clauslack

  • Sr. Member
  • ****
  • Posts: 275
Re: FDB problem
« Reply #7 on: October 26, 2010, 01:26:19 pm »
Quote
sudo chmod 777 DB_MyCinema.FDB
is insecure

Only firebird process (user firebird group firebird) must have permission on DB_MyCinema.FDB

Regards

xenblaise

  • Sr. Member
  • ****
  • Posts: 358
Re: FDB problem
« Reply #8 on: October 26, 2010, 02:33:55 pm »
you got the point claus, thats correct  :D
thanks for sharing O:-)
a team work for lazarus :)

 

TinyPortal © 2005-2018