A
Ale Ghelfi
(i'm under Ubuntu 10.10 amd64 and python 2.6 and kinterbasdb 3.2 )
I try to connect my database of firebird 2.5 by kinterbasdb.
But python return this error :
kinterbasdb.connect(dsn="/media/VINACCIA.FDB",user="user",password="password",charset="UTF-8")
Traceback (most recent call last):
File "<pyshell#22>", line 1, in <module>
c =
kinterbasdb.connect(dsn="/media/VINACCIA.FDB",user="user",password="password",charset="UTF-8")
File "/usr/lib/pymodules/python2.6/kinterbasdb/__init__.py", line
435, in connect
return Connection(*args, **keywords_args)
File "/usr/lib/pymodules/python2.6/kinterbasdb/__init__.py", line
612, in __init__
b.dsn, b.dpb, b.dialect, timeout
OperationalError: (-902, 'isc_attach_database: \n I/O error during
"open" operation for file "/media/VINACCIA.FDB"\n Error while trying to
open file\n Permission denied')
By terminal of Ubuntu this is the permission of database:
$ls -l /media/VINACCIA.FDB
-rw-r--r-- 1 grappale grappale 1720320 2010-12-06 17:33 /media/VINACCIA.FDB
Where am i wrong? Please. Thank you!
I try to connect my database of firebird 2.5 by kinterbasdb.
But python return this error :
kinterbasdb.connect(dsn="/media/VINACCIA.FDB",user="user",password="password",charset="UTF-8")
Traceback (most recent call last):
File "<pyshell#22>", line 1, in <module>
c =
kinterbasdb.connect(dsn="/media/VINACCIA.FDB",user="user",password="password",charset="UTF-8")
File "/usr/lib/pymodules/python2.6/kinterbasdb/__init__.py", line
435, in connect
return Connection(*args, **keywords_args)
File "/usr/lib/pymodules/python2.6/kinterbasdb/__init__.py", line
612, in __init__
b.dsn, b.dpb, b.dialect, timeout
OperationalError: (-902, 'isc_attach_database: \n I/O error during
"open" operation for file "/media/VINACCIA.FDB"\n Error while trying to
open file\n Permission denied')
By terminal of Ubuntu this is the permission of database:
$ls -l /media/VINACCIA.FDB
-rw-r--r-- 1 grappale grappale 1720320 2010-12-06 17:33 /media/VINACCIA.FDB
Where am i wrong? Please. Thank you!