From owner-freebsd-apache@FreeBSD.ORG Sun Aug 5 19:51:48 2012 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D496B106566B for ; Sun, 5 Aug 2012 19:51:48 +0000 (UTC) (envelope-from dan@langille.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id A4BAB8FC1B for ; Sun, 5 Aug 2012 19:51:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 8477D50977 for ; Sun, 5 Aug 2012 19:51:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qzM4iL5byQjH for ; Sun, 5 Aug 2012 19:51:42 +0000 (UTC) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id 3E3E750963 for ; Sun, 5 Aug 2012 19:51:42 +0000 (UTC) From: Dan Langille Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 5 Aug 2012 15:51:37 -0400 Message-Id: <065ED0F4-C02C-4B37-91DF-C5CCE91BF91C@langille.org> To: freebsd-apache@freebsd.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Subject: apr_global_mutex_child_init() fails with permission denied X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2012 19:51:48 -0000 Folks, I'm trying to get some software running with FreeBSD. I have this = function in the third party code: rc =3D apr_global_mutex_child_init((apr_global_mutex_t **) = &tp->mutex, tp->lockfile, p); Which always results in: Permission denied It is created with: rc =3D apr_global_mutex_create((apr_global_mutex_t **) &tp->mutex, = tp->lockfile, shMutexMech, p); followed by: unixd_set_global_mutex_perms((apr_global_mutex_t *) tp->mutex); Which should set things up properly I have found similar problems, which relate to this issue, but don't = know how to resolve it. Anyone have experience in this area? --=20 Dan Langille - http://langille.org