Subject Re: [ib-support] Hmm,
Author Paul Reeves
Yves Glodt wrote:
> > why do I get this all the time:
> > no permission for read/select access to table WT_PERS
> >
> > even when I have this in my code:
> >
> > isc_expand_dpb(&dpb, &dpb_length, isc_dpb_user_name, "SYSDBA",
> > isc_dpb_password, "masterkey", NULL);
> >
>
> I think I found the reason (unix user-rights)
>


You should also bear in mind that the Firebird project have deprecated the
isc_expand_dpb call. It is better to fill the dpb in one go with
isc_attach_database.

isc_expand_dpb was originally intended for usage by gpre only and does not carry
out any checks to ensure that parameters are not duplicated.


Paul
--

Paul Reeves
http://www.ibphoenix.com
taking InterBase further