From owner-freebsd-questions@FreeBSD.ORG Tue Nov 1 13:32:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D035016A41F for ; Tue, 1 Nov 2005 13:32:36 +0000 (GMT) (envelope-from cerion@terpsichore.ws) Received: from host.wrcworldwide.com (host.wrcworldwide.com [209.239.36.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6916943D48 for ; Tue, 1 Nov 2005 13:32:36 +0000 (GMT) (envelope-from cerion@terpsichore.ws) Received: from terpsichore.ws (localhost [127.0.0.1]) by host.wrcworldwide.com (8.12.10/8.12.10) with ESMTP id jA1DWYFB001379; Tue, 1 Nov 2005 08:32:34 -0500 From: "Cerion Armour-Brown" To: Giorgos Keramidas Date: Tue, 1 Nov 2005 08:32:34 -0500 Message-Id: <20051101133234.M61656@terpsichore.ws> In-Reply-To: <20051101132557.GA2732@flame.pc> References: <20051101105745.M78709@terpsichore.ws> <20051101124144.GA1568@flame.pc> <20051101125015.M15158@terpsichore.ws> <20051101125617.GA2318@flame.pc> <20051101131654.M27340@terpsichore.ws> <20051101132557.GA2732@flame.pc> X-Mailer: Open WebMail 1.81 20021127 X-OriginatingIP: 82.170.248.184 (cerion) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: running subversion as non-root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2005 13:32:36 -0000 On Tue, 1 Nov 2005 15:25:57 +0200, Giorgos Keramidas wrote > On 2005-11-01 08:16, Cerion Armour-Brown wrote: > > On Tue, 1 Nov 2005 14:56:17 +0200, Giorgos Keramidas wrote > > > > > > (2) Change the permissions of libaprutil*.so* files to 0755, > > > which would allow subversion to access the shared > > > libraries without being in the wheel group. > > > > My instinct was the same, and I tried this, but there are more libs with the > > same permissions problems... > > /usr/libexec/ld-elf.so.1: Cannot open "/usr/local/lib/libdb-4.2.so.2" > > and if i fix that one... > > /usr/libexec/ld-elf.so.1: Cannot open "/usr/local/lib/apache2/libapr-0.so.9" > > > > This really doesn't seem the right way of doing things... is there no > > 3rd way? > > There's obviously something very wrong with your installed ports. > The permissions of libdb* files here are: > > % flame:/usr/local/lib$ ls -ld libdb* > % lrwxr-xr-x 1 root wheel - 14 Oct 19 12:39 libdb-4.2.so -> > libdb-4.2.so.2 % lrwxr-xr-x 1 root wheel - 19 Oct 19 12:39 > libdb-4.2.so.2 -> db42/libdb-4.2.so.2 % lrwxr-xr-x 1 root wheel - > 18 Oct 19 12:39 libdb_cxx-4.2.so -> libdb_cxx-4.2.so.2 % lrwxr-xr- > x 1 root wheel - 23 Oct 19 12:39 libdb_cxx-4.2.so.2 -> > db42/libdb_cxx-4.2.so.2 % lrwxr-xr-x 1 root wheel - 15 Aug 14 > 23:39 libdbh-1.0.so -> libdbh-1.0.so.1 % -rwxr-xr-x 1 root wheel - > 30248 Aug 14 23:39 libdbh-1.0.so.1 % -rw-r--r-- 1 root wheel - > 32924 Aug 14 23:39 libdbh.a % lrwxr-xr-x 1 root wheel - 15 Aug > 14 23:39 libdbh.so -> libdbh-1.0.so.1 % flame:/usr/local/lib$ > > If you used the standard Ports stuff to install these and they > have these broken permissions, it may be a side-effect of a > broken umask setting for the root user. > > What do you see if you log in as 'root' and issue: > > # umask > > Is this 0022 or something similar, or not? If not, what value > does it print? > > - Giorgos ahh, that's interesting: mine is 0027 I guess I should set that to 0022, and reinstall everything... (groan) Cerion