Home » Database » DB » Bug #1325
SQLite module creates dbfile with wrong mode
Details
| Submitted | 2004-05-01 14:26 UTC |
|---|---|
| From | eru at php dot net |
| Assigned | danielc |
| Status | Closed |
| Package | DB |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| 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']);