apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: permission problems with SDBM
Date Mon, 23 Jun 2003 00:24:46 GMT
G√ľnter Knauf wrote:
> Hi all,
> I've problems creating a SDBM database on Linux with both Apache 1.3 and 2.0 SDBM lib;
> with AP2 I've tried from my module:
>     retval = apr_dbm_open_ex(&dbm, c->cntr_dbmtype, c->cntr_file, APR_DBM_RWCREATE,

>                              DEFAULT_DBM_PERM, r->pool);
> also I have tried with permission 0x666 and 0x777, but the database isnt created; 
> when I first touch the needed files everything works fine. Is this intended behavior,

> or is it somehow possible that the database is created automatically?

dev@apr.apache.org is the right mailing list

does it fail just with type=sdbm, or with other types as well?

where did DEFAULT_DBM_PERM come from?

compare your code with apr-util/test/testdbm.c and see why testdbm.c 
works and yours doesn't

View raw message