diff options
author | jbj <devnull@localhost> | 2000-03-31 17:23:13 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-03-31 17:23:13 +0000 |
commit | d01b8832553b6576b2c9ae31fadb5f3bf850f210 (patch) | |
tree | cd77abc35ca28af5c39999a5dee4cff62b14a6da /python/rpmmodule.c | |
parent | 0833c5686ab2aa82a2afeb295adca3d60af6612e (diff) | |
download | rpm-d01b8832553b6576b2c9ae31fadb5f3bf850f210.tar.gz rpm-d01b8832553b6576b2c9ae31fadb5f3bf850f210.tar.bz2 rpm-d01b8832553b6576b2c9ae31fadb5f3bf850f210.zip |
Get the database permissions right.
CVS patchset: 3650
CVS date: 2000/03/31 17:23:13
Diffstat (limited to 'python/rpmmodule.c')
-rw-r--r-- | python/rpmmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c index aaa684bdc..5f3ae7445 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -506,7 +506,7 @@ static rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args) { o = PyObject_NEW(rpmdbObject, &rpmdbType); o->db = NULL; - if (rpmdbOpen(root, &o->db, forWrite ? O_RDWR | O_CREAT: O_RDONLY, 0)) { + if (rpmdbOpen(root, &o->db, forWrite ? O_RDWR | O_CREAT: O_RDONLY, 0644)) { char * errmsg = "cannot open database in %s"; char * errstr = NULL; int errsize; |