From owner-freebsd-questions@FreeBSD.ORG Tue Nov 1 13:26:02 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 6667816A41F for ; Tue, 1 Nov 2005 13:26:02 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB14C43D46 for ; Tue, 1 Nov 2005 13:26:00 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id jA1DPwD4022686; Tue, 1 Nov 2005 15:25:59 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id jA1DPvB1002771; Tue, 1 Nov 2005 15:25:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id jA1DPvCU002770; Tue, 1 Nov 2005 15:25:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 1 Nov 2005 15:25:57 +0200 From: Giorgos Keramidas To: Cerion Armour-Brown Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051101131654.M27340@terpsichore.ws> 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:26:02 -0000 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