|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-01-16 17:28 UTC] hunreal+php dot bug dot report at gmail dot com
Description:
------------
The database file created by 0644 permission and not user setted.
And my php was not running in safe-more
Reproduce code:
---------------
<?
$db=sqlite_open('db', 0666, $error);
?>
<?
$db=sqlite_open('db');
?>
Expected result:
----------------
-rw-r--r-- 1 root wheel 0 Jan 17 00:15 db
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 10:00:01 2025 UTC |
umask(0000); $db=sqlite_open('db'); problem is the same -rw-r--r-- 1 root wheel 0 Jan 17 01:05 db