From ac9115b0337bc6c9b49cdb05210dd85a270d1594 Mon Sep 17 00:00:00 2001 From: Troels Liebe Bentsen Date: Sat, 18 Feb 2006 19:32:51 +0100 Subject: Fix wrong umask usage and so we set the correct file premissions. darcs-hash:20060218183251-ee6b9-798ab2994526311b1e58f04e7684b39b51426887.gz --- lib/exe/indexer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/exe/indexer.php') diff --git a/lib/exe/indexer.php b/lib/exe/indexer.php index 49b532507..19eea767f 100644 --- a/lib/exe/indexer.php +++ b/lib/exe/indexer.php @@ -49,7 +49,7 @@ function runIndexer(){ // try to aquire a lock $lock = $conf['lockdir'].'/_indexer.lock'; - while(!@mkdir($lock,0777)){ + while(!@mkdir($lock,$conf['dmode'])){ usleep(50); if(time()-@filemtime($lock) > 60*5){ // looks like a stale lock - remove it -- cgit v1.2.3