[MacPorts] #21389: Wrong permissions in lib/db46, e.g. libdb-4.6.dylib

MacPorts noreply at macports.org
Tue Sep 15 01:45:39 PDT 2009


#21389: Wrong permissions in lib/db46, e.g. libdb-4.6.dylib
------------------------------+---------------------------------------------
 Reporter:  m@…               |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.8.0                                
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------
 I did a fresh install after upgrading to Snow Leopard. The installed ports
 include Subversion.

 Unfortunately, I can run `svn` only as user admin. With my restricted
 account, I get the following error message:

 {{{
 $ /opt/local/bin/svn
 (15.09. 10:43)
 dyld: Library not loaded: /opt/local/lib/db46/libdb-4.6.dylib
   Referenced from: /opt/local/bin/svn
   Reason: no suitable image found.  Did find:
         /opt/local/lib/db46/libdb-4.6.dylib: open() failed with errno=13
 [1]    715 trace trap  /opt/local/bin/svn
 }}}

 This seems to be a bug related to the persmissions in
 `/opt/local/lib/db46/`:

 {{{
 $ ls -la /opt/local/lib/db46/
 total 25296
 drwxr-xr-x   2 root  admin      714 Sep 11 14:57 .
 drwxr-xr-x  10 root  admin     8024 Sep 14 12:07 ..
 -r--r--r--   2 root  admin   247975 Sep 11 14:57 db.jar
 -rw-r--r--   2 root  admin  1657904 Sep 11 14:57 libdb-4.6.a
 -rwxr-x---   2 root  admin  1146208 Sep 11 14:57 libdb-4.6.dylib
 -rw-r-----   2 root  admin      830 Sep 11 14:57 libdb-4.6.la
 lrwxr-x---   1 root  admin       15 Sep 11 14:57 libdb-4.dylib ->
 libdb-4.6.dylib
 -rw-r--r--   2 root  admin  1657904 Sep 11 14:57 libdb.a
 lrwxr-x---   1 root  admin       15 Sep 11 14:57 libdb.dylib ->
 libdb-4.6.dylib
 -rw-r--r--   2 root  admin  1867600 Sep 11 14:57 libdb_cxx-4.6.a
 -rwxr-x---   2 root  admin  1278928 Sep 11 14:57 libdb_cxx-4.6.dylib
 -rw-r-----   2 root  admin      858 Sep 11 14:57 libdb_cxx-4.6.la
 lrwxr-x---   1 root  admin       19 Sep 11 14:57 libdb_cxx-4.dylib ->
 libdb_cxx-4.6.dylib
 -rw-r--r--   2 root  admin  1867600 Sep 11 14:57 libdb_cxx.a
 lrwxr-x---   1 root  admin       19 Sep 11 14:57 libdb_cxx.dylib ->
 libdb_cxx-4.6.dylib
 -rw-r--r--   2 root  admin  1881928 Sep 11 14:57 libdb_java-4.6.a
 -rwxr-x---   2 root  admin  1291072 Sep 11 14:57 libdb_java-4.6.jnilib
 -rw-r-----   2 root  admin      869 Sep 11 14:57 libdb_java-4.6.la
 lrwxr-x---   1 root  admin       21 Sep 11 14:57 libdb_java-4.6_g.jnilib
 -> libdb_java-4.6.jnilib
 lrwxr-x---   1 root  admin       21 Sep 11 14:57 libdb_java-4.jnilib ->
 libdb_java-4.6.jnilib
 lrwxr-x---   1 root  admin       21 Sep 11 14:57 libdb_java.jnilib ->
 libdb_java-4.6.jnilib
 }}}

 File `/opt/local/lib/db46/libdb-4.6.dylib` is not world readable.

-- 
Ticket URL: <http://trac.macports.org/ticket/21389>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list