Re: File::Passwd patch
| From: | Mika Tuupola | Date: | Wed, 11 Dec 2002 20:57:10 +0000 |
| Subject: | Re: File::Passwd patch | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11571@lists.php.net to get a copy of this message | ||
On Wed, 11 Dec 2002, Yavor Shahpasov wrote:
> There are two files a passwd file and a lock file. when the class starts the
> lock file is locked using flock($file, LOCK_EX). when you add a user the
> data is added to the lock file and the lock file is renamed to the original
> file. When this happens the file is still locked an I get an access denied
Thanks. Will look into this soon. BTW, what OS are you getting
the access denieds in? *NIX or Windows?
--
Mika Tuupola http://www.appelsiini.net/~tuupola/