Anthony Howe wrote:
flock is used on FreeBSD by default... flock requires that chmod be done on the lock in the child init
if you look at Apache 2.1-dev, unixd_set_global_mutex_perms() has been changed to handle the chmod() for you
You mean chown() right? Or do you mean both chmod() and chown()?
oops, I meant chown()... maybe you want to have a look at unixd.c (http://cvs.apache.org/viewcvs.cgi/httpd-2.0/os/unix/unixd.c?annotate=1.58) to see special handling required for flock and sysvsem mutexes...
