Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-26 Thread Moshe Berlin
Thanks Graeme, Checked those issues, and did get it working with both FlameRobin and FPC/Lazarus! From: Graeme Geldenhuys To: General mailing list Sent: Monday, April 6, 2009 2:09:08 PM Subject: Re: [Lazarus] Permission denied error with Firebird SS on OSX

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-06 Thread Graeme Geldenhuys
2009/4/6 Moshe Berlin : > How about this error msg from Flamerobin in Linux? > Our Firebird works fine in Windows with Delphi, but we'd like to convert > everything to FPC/Lazarus/Firebird in Linux > >> > context:database::connect > message:isc_attach_database failed > > sql message: -9

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-06 Thread Moshe Berlin
ISQL works, but access from FlameRobin and Lazarus do not work. BTW, Graeme, fpGUI is really interesting.. Thanks! From: Graeme Geldenhuys To: General mailing list Sent: Monday, April 6, 2009 3:00:33 AM Subject: Re: [Lazarus] Permission denied error with Fire

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-06 Thread Graeme Geldenhuys
On Sun, Apr 5, 2009 at 10:43 PM, Giuseppe Luigi Punzi Ruiz wrote: > > The DB needs to be firebird owner, and firebird group, and the user, > in firebird group. > > Cheers, and thanks a lot for all. No problem, glad I could help. :) Regards, - Graeme - ___

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-05 Thread Giuseppe Luigi Punzi Ruiz
Now seems to work. The DB needs to be firebird owner, and firebird group, and the user, in firebird group. On mac, to add an user to the firebird group: sudo dscl . append Groups/firebird GroupMembership glpunzi Cheers, and thanks a lot for all. El 03/04/2009, a las 12:54, Graeme Geldenhuys

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-03 Thread Graeme Geldenhuys
On Fri, Apr 3, 2009 at 5:12 PM, waldo kitty wrote: > > i've done that before, too... sudo to root and then go manually edit the > list... See the flaw in your logic??? I lost sudo access so while logged in I couldn't execute anything that required root access, including the sudo or su command.

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-03 Thread waldo kitty
Graeme Geldenhuys wrote: > > Anybody how I can restore my 'graemeg' user on the Ubuntu Linux server > to be part of the 'sudoers' list again. I can execute anything via > 'sudo' and by default the 'root' account is disable in Ubuntu. Maybe > rebooting into single user mode would give me root acc

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-03 Thread Giuseppe Luigi Punzi
Cool, Cool, I will try to do it at home this afternoon (I don't have MAC at my office), and I hope this is the solution. Cheers. P.D.: Still asking to me why I can open employee but not my databases. Graeme Geldenhuys escribió: > On Thu, Apr 2, 2009 at 4:08 PM, Giuseppe Luigi Punzi > wrote: >

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-03 Thread Graeme Geldenhuys
On Fri, Apr 3, 2009 at 12:45 PM, Graeme Geldenhuys wrote: > To add a user (for example, “sparky”) to the firebird group, the root > user needs to > enter: >   $ usermod -G firebird sparky Arg sh*t! Remember to add the -a parameter! Otherwise you get removed from all other groups not specifie

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-03 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 4:08 PM, Giuseppe Luigi Punzi wrote: > > Now, I can't open any database from Lazarus/SQLdb nor Flamerobin, > getting an error about 'Permission Denied'. = Quoted from excellent The Firebird Book === Linux/UNIX Users and Groups ---

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-03 Thread Graeme Geldenhuys
On Fri, Apr 3, 2009 at 9:30 AM, Giuseppe Luigi Punzi wrote: > > I don't think is necessary to change all this permissions to all folders > to access. Is ridiculous. Actually I think you are right. I think the only important directory is the last one that the database actually lives in. > I alway

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-03 Thread Giuseppe Luigi Punzi
Hi Graeme, Graeme Geldenhuys escribió: > 2009/4/2 Giuseppe Luigi Punzi Ruiz : > >> galilea:testfb glpunzi$ ls -all >> /Library/Frameworks/Firebird.framework/Versions/Current/Resources/examples/empbuild/ >> > > What happens if you move your database into this "examples" directory? > Can you

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-02 Thread Graeme Geldenhuys
2009/4/2 Giuseppe Luigi Punzi Ruiz : > galilea:testfb glpunzi$ ls -all > /Library/Frameworks/Firebird.framework/Versions/Current/Resources/examples/empbuild/ What happens if you move your database into this "examples" directory? Can you access it then? > -rw-rw 1 firebird firebird 69632

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-02 Thread Giuseppe Luigi Punzi Ruiz
Seriously, I can't understand. I'm sure is something silly I can't see, but. galilea:testfb glpunzi$ ls -all /Library/Frameworks/Firebird.framework/ Versions/Current/Resources/examples/empbuild/ total 2120 drwxr-xr-x 3 firebird firebird 102 4 jun 2008 . drwxr-xr-x 10 fi

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-02 Thread Giuseppe Luigi Punzi
It's sounds me thath I swarched over firebird.conf file, and, this option was commented (default = full access) Otherwise, I will try some options when back to home. Thanks Graeme Geldenhuys escribió: > On Thu, Apr 2, 2009 at 4:08 PM, Giuseppe Luigi Punzi > wrote: > >> I'm starting some pr

Re: [Lazarus] Permission denied error with Firebird SS on OSX

2009-04-02 Thread Graeme Geldenhuys
On Thu, Apr 2, 2009 at 4:08 PM, Giuseppe Luigi Punzi wrote: > I'm starting some projects, and I will develop them from OSX and > Windows. On windows, seems all ok, but from OSX I'm getting some > troubles thath stops me now. It's because Windows has crappy security. :-) > Now, I can't open any d

[Lazarus] Permission denied error with Firebird SS on OSX

2009-04-02 Thread Giuseppe Luigi Punzi
Hi again. Probably, is not the right place to ask, and sorry for this, but I'm desperate. I'm starting some projects, and I will develop them from OSX and Windows. On windows, seems all ok, but from OSX I'm getting some troubles thath stops me now. I fighted against the lazarus error libfbcli