From owner-freebsd-questions@FreeBSD.ORG Tue Nov 1 12:41:49 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 C9B1416A41F for ; Tue, 1 Nov 2005 12:41:49 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC46143D60 for ; Tue, 1 Nov 2005 12:41:48 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id jA1CfkJ7031741; Tue, 1 Nov 2005 14:41:46 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id jA1CfjTg002245; Tue, 1 Nov 2005 14:41:45 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id jA1CfjNk002244; Tue, 1 Nov 2005 14:41:45 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 1 Nov 2005 14:41:45 +0200 From: Giorgos Keramidas To: Cerion Armour-Brown Message-ID: <20051101124144.GA1568@flame.pc> References: <20051101105745.M78709@terpsichore.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051101105745.M78709@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 12:41:49 -0000 On 2005-11-01 05:57, Cerion Armour-Brown wrote: > Running subversion as root works fine, but under user 'svn' I get a load of > permission problems, e.g. > /usr/libexec/ld-elf.so.1: Cannot open "/usr/local/lib/apache2/libaprutil-0.so.9" > > I fixed this by adding svn to group wheel, but am not sure if this is 'the > right way'. Is there a standard solution to this? What are the permissions of all the path components up to and including the library that fails to load? Something like this could print all the path components and their permissions: ls -ld $( libpath='/usr/local/lib/apache2/libaprutil-0.so.9' while [ -n "${libpath}" ] && [ ! "${libpath_prev}" = "${libpath}" ]; do echo "${libpath}" libpath_prev="${libpath}" libpath=$(dirname "${libpath}") done )