[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

File permissions wrong for APR install bundled with 1.2.3.

From: Gareth Randall <g_j_randall_at_yahoo.co.uk>
Date: 2005-09-17 21:43:55 CEST

Hi,

The file permissions are wrong when the bundled APR is made and
installed.

Version: subversion-1.2.3.tar.bz2

Note that they don't allow read access for normal users:

fermat:~$ ls -l /usr/local/apr/lib/
total 5880
-rw-r----- 1 root staff 7864 Sep 17 19:16 apr.exp
-rw-r----- 1 root staff 3643 Sep 17 19:16 aprutil.exp
-rw-r--r-- 1 root staff 2963390 Sep 17 19:16 libapr-0.a
-rw-r----- 1 root staff 841 Sep 17 19:16 libapr-0.la
lrwxrwxrwx 1 root staff 17 Sep 17 19:16 libapr-0.so ->
libapr-0.so.0.9.6
lrwxrwxrwx 1 root staff 17 Sep 17 19:16 libapr-0.so.0
-> libapr-0.so.0.9.6
-rwxr-x--- 1 root staff 536463 Sep 17 19:16
libapr-0.so.0.9.6
-rw-r--r-- 1 root staff 1531996 Sep 17 19:16 libaprutil-0.a
-rw-r----- 1 root staff 831 Sep 17 19:16 libaprutil-0.la
lrwxrwxrwx 1 root staff 21 Sep 17 19:16 libaprutil-0.so
-> libaprutil-0.so.0.9.6
lrwxrwxrwx 1 root staff 21 Sep 17 19:16
libaprutil-0.so.0 -> libaprutil-0.so.0.9.6
-rwxr-x--- 1 root staff 333877 Sep 17 19:16
libaprutil-0.so.0.9.6
-rw-r--r-- 1 root staff 320496 Sep 17 19:16 libexpat.a
-rwxr-xr-x 1 root staff 803 Sep 17 19:16 libexpat.la
lrwxrwxrwx 1 root staff 17 Sep 17 19:16 libexpat.so ->
libexpat.so.0.1.0
lrwxrwxrwx 1 root staff 17 Sep 17 19:16 libexpat.so.0
-> libexpat.so.0.1.0
-rwxr-xr-x 1 root staff 274024 Sep 17 19:16
libexpat.so.0.1.0

This was done on the following system:

fermat:/# uname -a
Linux fermat 2.4.28 #2 Thu Jan 27 21:04:10 GMT 2005 i586 unknown

Built using:

$ ./configure
$ make
$ make check
# make install

Then add /usr/local/apr/lib to /etc/ld.so.conf

fermat:/usr/local/apr/lib# umask
0022

By default, libraries can't be read:

fermat:~$ svnversion
svnversion: error while loading shared libraries: libaprutil-0.so.0:
cannot open shared object file: No such file or directory

Solution is simple:

fermat:/usr/local/apr/lib# chmod a+r *

fermat:~$ svnversion
Type 'svnversion --help' for usage.

Needs to be corrected in make install process.

Yours,

Gareth Randall

                
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 17 21:56:11 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.