running subversion as non-root
cerion at terpsichore.ws
Tue Nov 1 05:32:36 PST 2005
On Tue, 1 Nov 2005 15:25:57 +0200, Giorgos Keramidas wrote
> On 2005-11-01 08:16, Cerion Armour-Brown <cerion at terpsichore.ws> 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)
More information about the freebsd-questions