From: marius a. p. <ma...@gm...> - 2011-05-03 13:22:09
|
On Tue, May 3, 2011 at 3:58 PM, Huajie Wu <u49...@an...> wrote: > Hi every developer: > > I want to use 2.5 example file 'employee.fdb'. I want to connect it > just type: connect "/home/huajie/Desktop/8440/employee.fdb" user > 'SYSDBA' password 'abcdef'; but it show error: no permission for > read-write access to database /home/huajie/Desktop/8440/employee.fdb. > Any default user and password for employee.fdb. 1. Firebird runs under the firebird user and doesn't have readwrite permissions in your home directory 2.You must give access to the file so firebird can read and write to it chmod o+rw /home/huajie/Desktop/8440/employee.fdb 3.Add yourself to firebird group if you are the only one on the pc and change only the group owner of the file to be readable $ chmod g+rw /home/huajie/Desktop/8440/employee.fdb $ sudo usermod -a -G firebird huajie $ id | grep firebird |