Changes between Initial Version and Version 1 of Ticket #38096, comment 5
- Timestamp:
- Feb 18, 2013, 10:31:04 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #38096, comment 5
initial v1 2 2 > 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? 3 3 4 I 've upgraded from Leopard to Snow Leopard with a fresh installation and then to Mountain Lion. 5 Then I've installed macports with MacPorts-2.1.2-10.8-MountainLion.pkg. 4 I 've upgraded from Leopard to Snow Leopard with a fresh installation and then to Mountain Lion. [[br]] 5 Then I've installed macports with MacPorts-2.1.2-10.8-MountainLion.pkg. [[br]] 6 6 With the following: 7 7 8 {{{ 8 9 xxxx$ cd /opt 9 10 xxxx$ ls -lht 10 11 11 total 0 12 13 12 drwxr-xr-x 12 macports 502 408B 26 Ott 16:05 local 14 15 13 drwxr-xr-x 8 root wheel 272B 24 Mag 2012 X11 16 17 14 xxxx$ cd local 18 19 15 local xxxx$ ls -lht 20 21 16 total 8 22 23 17 drwxr-xr-x 594 macports 502 20K 16 Feb 19:27 bin 24 25 26 18 drwxr-xr-x 58 macports 502 1,9K 16 Feb 19:20 share 27 28 19 drwxr-xr-x 10 root admin 340B 16 Feb 19:01 etc 29 30 20 drwxr-xr-x 354 root admin 12K 16 Feb 19:01 include 31 32 21 drwxr-xr-x 984 macports 502 33K 16 Feb 19:01 lib 33 34 22 drwxr-xr-x 10 root admin 340B 16 Feb 14:34 libexec 35 36 23 drwxr-xr-x 8 root admin 272B 22 Gen 09:41 sbin 37 38 24 drwxr-xr-x 6 root admin 204B 29 Nov 23:07 var 39 40 25 drwxr-xr-x 5 root wheel 170B 29 Nov 20:14 Library 41 42 26 lrwxr-xr-x 1 root admin 9B 11 Ago 2012 man -> share/man 43 27 }}} 44 28 45 29 This is a very messy condition … … 47 31 If everything below /opt must be of a specific user and of a specific group can I try the following: 48 32 33 {{{ 49 34 sudo chown -R a_user.a_group /opt ? 35 }}}