Can not remove the new MacPorts Mojave package
Vincent Habchi
vince at macports.org
Fri Nov 9 19:56:43 UTC 2018
Hi again,
>>>>> rm: /opt/local/var/macports/home/Library: Operation not permitted
>>>>> rm: /opt/local/var/macports/home: Operation not permitted
Both lines are very suspect. When I ls what’s inside the first directory
Air > ll /opt/local/var/macports/home/Library/Preferences/
total 616
-rw-r--r-- 1 macports admin 314139 7 Nov 18:33 com.apple.dt.Xcode.plist
This looks to me very much like a hardlink or a protected file.
Air > ls -lORa /opt/local/var/macports/home/Library/Preferences/
total 616
drwxr-xr-x 3 root admin - 96 8 Nov 14:53 .
drwxr-xr-x 3 root admin - 96 25 Oct 2016 ..
-rw-r--r-- 1 macports admin - 314139 7 Nov 18:33 com.apple.dt.Xcode.plist
But that doesn’t mean anything in my case, since I have disabled SIP for files (yes, I got rid of several dumb apps such as Chess or Stocks, I only have a 128 MB SSD).
> No hard links that I spotted (but would that not fail under 10.13? the
> same code runs fine). The only differences between what fails and
> what works are 10.14 vs 10.13 and older, and [sound effect: penny
> dropping] APFS vs HFS+ journaled. If there's some protection going
SIP protection might have been extended to newer files between 10.13 and 10.14.
Vincent
More information about the macports-users
mailing list