[MacPorts] #38096: Problem with port selfupdate on OS X 10.8.2

MacPorts noreply at macports.org
Sun Feb 17 07:33:24 PST 2013


#38096: Problem with port selfupdate  on OS X 10.8.2
---------------------+--------------------------------
  Reporter:  xave@…  |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.1.2
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------------------

Comment (by xave@…):

 Replying to [comment:4 raimue@…]:
 > This means that `/opt/local` is owned by user macports and group id 502,
 although no group exists with that group id. Did you copy the prefix
 around, restore from a backup or anything similar?

 I 've upgraded from Leopard to Snow Leopard with a fresh installation and
 then to Mountain Lion.
 Then I've installed macports with MacPorts-2.1.2-10.8-MountainLion.pkg.
 With the following:

 xxxx$ cd /opt
 xxxx$ ls -lht

 total 0

 drwxr-xr-x  12 macports  502     408B 26 Ott 16:05 local

 drwxr-xr-x   8 root      wheel   272B 24 Mag  2012 X11

 xxxx$ cd local

 local xxxx$ ls -lht

 total 8

 drwxr-xr-x  594 macports  502      20K 16 Feb 19:27 bin


 drwxr-xr-x   58 macports  502     1,9K 16 Feb 19:20 share

 drwxr-xr-x   10 root      admin   340B 16 Feb 19:01 etc

 drwxr-xr-x  354 root      admin    12K 16 Feb 19:01 include

 drwxr-xr-x  984 macports  502      33K 16 Feb 19:01 lib

 drwxr-xr-x   10 root      admin   340B 16 Feb 14:34 libexec

 drwxr-xr-x    8 root      admin   272B 22 Gen 09:41 sbin

 drwxr-xr-x    6 root      admin   204B 29 Nov 23:07 var

 drwxr-xr-x    5 root      wheel   170B 29 Nov 20:14 Library

 lrwxr-xr-x    1 root      admin     9B 11 Ago  2012 man -> share/man


 This is a very  messy condition

 If everything below /opt must be of a specific user and of a specific
 group can I try the following:

 sudo chown -R  a_user.a_group /opt  ?

-- 
Ticket URL: <https://trac.macports.org/ticket/38096#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list