Re: Re: Mandatory File Locking in PHP?

From: Date: Wed, 29 Jan 2003 23:55:39 +0000
Subject: Re: Re: Mandatory File Locking in PHP?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-93790@lists.php.net to get a copy of this message
On Wednesday, January 29, 2003, at 06:26 PM, Marcus Börger wrote:
At 18:07 29.01.2003, George Schlossnagle wrote:
Aside from this being on the wrong list (this should go to php-general), it's worth noting that mandatory locking support is pretty inconsistently implemented across most OSs.
Why wrong list?
My fault, I interpreted it to be a 'how do I use mandatory locks (as a user)'
Inside dba i use flock compatibility routines. If you can show us how to do that on Netware or if you can use those mechanisms then both (streams and netware port) would benefit.
The real question is why you need mandatory locks and not advisory locks. If everyone is playing on the same team, advisory locks should provide all the semantics you need (and are very portable). Mandatory locks (on linux at least) require not only special mount options, but special perms to the file (g-x, g+s, I believe). That seems like a lot to require inside an extension.

« previous php.dev (#93790) next »