PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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']);