[kronolith] Fwd: Re: [cvs] cvs commit: nag prefs.php
Mike Hardy
mhardy@h3c.com
Sat, 26 Jan 2002 22:01:17 -0800 (PST)
---------------------- multipart/mixed attachment
On Sun, 27 Jan 2002, Ilya wrote:
> shoot. u are right together with Chuck, that was the case. horde user didn't
> have permission to create tables...
> Thank you
No problem - glad its working
> last time I configured horde (ver1,2 and old imp) it didnt need to create
> any new tables, all was done during setup, so i didnt expect that new tables
> will be created on the fly.
It almost seems like a security flaw, doesn't it? That's the way PEAR
works though, and that's the reason the new versions do it - they use the
PEAR abstraction layer now.
It might be a good idea to put all of the sequence tables in
there for MySQL so its possible to remove an otherwise unnecessary
capability from the database user, but that would mean maintaining
separate SQL init scripts for every database, and that's *exactly* the
sort of thing PEAR is trying to save everyone from.
That only leaves the docs needing updating so the extra privilege is noted
- I attached a patch that tries to address that
-Mike
---------------------- multipart/mixed attachment
SW5kZXg6IGRvY3MvSU5TVEFMTA0KPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0K
UkNTIGZpbGU6IC9yZXBvc2l0b3J5L2tyb25vbGl0aC9kb2NzL0lOU1RBTEws
dg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjUNCmRpZmYgLXUgLXIxLjUgSU5T
VEFMTA0KLS0tIGRvY3MvSU5TVEFMTAkxMSBTZXAgMjAwMSAyMTowMzo0OCAt
MDAwMAkxLjUNCisrKyBkb2NzL0lOU1RBTEwJMjcgSmFuIDIwMDIgMDY6MDA6
MzIgLTAwMDANCkBAIC02LDExICs2LDE0IEBADQogVGhpcyBjb2RlIGlzIGxp
Y2Vuc2VkIHVuZGVyIHRoZSBHTlUgUHVibGljIExpY2Vuc2UuDQogU2VlIHRo
ZSBmaWxlIENPUFlJTkcgaW4gdGhlIG1haW4gZGlyZWN0b3J5Lg0KIA0KLUxh
c3QgVXBkYXRlZDogMjAwMS0wNy0xMyBbamFuXQ0KK0xhc3QgVXBkYX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