PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB » Bug #1325

SQLite module creates dbfile with wrong mode

Details

Submitted2004-05-01 14:26 UTC
Fromeru at php dot net
Assigneddanielc
StatusClosed
PackageDB
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2004-05-01 14:26 UTC] eru at php dot net

Description:
------------
Line 125 of sqlite.php in current CVS reads

$mode = octdec($dsninfo['mode']);

this should be decoct() to work correctly.
Even better, the line should read

$mode = "0".decoct($dsninfo['mode']);