change mode to 0775

pull/10/head
yuqing 2016-10-31 18:51:25 +08:00
parent 3c77ef047d
commit ca5eefc8d2
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ resource fastcommon_id_generator_init([string filename = "/tmp/fastcommon_id_gen
*/
$id = 6301319781687017475;
$handle1 = fastcommon_id_generator_init("/tmp/sn1.txt", 0, 8, 10, 14, 0666);
$handle1 = fastcommon_id_generator_init("/tmp/sn1.txt", 0, 8, 10, 14, 0775);
echo 'extra no: ' . fastcommon_id_generator_get_extra($id, $handle1) . "\n";
$handle2 = fastcommon_id_generator_init("/tmp/sn2.txt", 0, 8, 8, 16);