binaryage / asepsis

a solution for .DS_Store pollution
http://asepsis.binaryage.com
Other
349 stars 40 forks source link

after latest sierra update, uninstall_wrapper fails #36

Open jcdufourd opened 7 years ago

jcdufourd commented 7 years ago

after latest sierra update, uninstall_wrapper fails

DesktopServicesPriv wrapper was replaced by system version since last Asepsis installation. Usually this is the case when you install a system update which updates DesktopServicesPriv related files. => continuing in wrapper uninstallation, but skipping backup restoration. /Library/Application Support/Asepsis/ctl/lib/helpers.rb:86: warning: Insecure world writable dir /Users/dufourd/anaconda/bin in PATH, mode 040777

sudo "/usr/bin/codesign" --timestamp=none --force --sign - "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv" /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: replacing existing signature /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: Operation not permitted failed with code pid 1268 exit 1

darwin commented 7 years ago

I'm not sure what caused this. Unfortunately I don't support Asepsis under 10.11+ systems.

Let's wait if more people report similar issues.

dexcell commented 7 years ago

Works without problem in my machine. asepsisctl uninstall_wrapper works just fine

anonemusic commented 7 years ago

I have the same issue.

asepsisctl uninstall_wrapper DesktopServicesPriv wrapper was replaced by system version since last Asepsis installation. Usually this is the case when you install a system update which updates DesktopServicesPriv related files. => continuing in wrapper uninstallation, but skipping backup restoration.

sudo "/usr/bin/codesign" --timestamp=none --force --sign - "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv" /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: replacing existing signature /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: Operation not permitted failed with code pid 839 exit 1

anonemusic commented 7 years ago

I figured it out. csrutil disable didn't kick in for a few tries. After 3rd try, it finally took it. I am not sure why it happened this way.

godfat commented 5 years ago

I know probably no one knows how to fix this, but I just want to leave a note here as this is the only place I can find people having similar issues.

I just upgraded to macOS 10.12.6 and now asepsis broke.

> asepsisctl uninstall_wrapper
/Library/Application Support/Asepsis/ctl/lib/micro-optparse.rb:47: warning: constant ::Fixnum is deprecated
DesktopServicesPriv wrapper was replaced by system version since last Asepsis installation.
Usually this is the case when you install a system update which updates DesktopServicesPriv related files.
 => continuing in wrapper uninstallation, but skipping backup restoration.
> sudo "/usr/bin/codesign" --timestamp=none --force --sign - "/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv"
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: replacing existing signature
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv: Operation not permitted
failed with code pid 3333 exit 1

No matter how many times I tried, it didn't work.

darwin commented 5 years ago

@godfat use this fork which has a fix: https://github.com/JK3Y/asepsis

godfat commented 5 years ago

@darwin Interesting, thanks! I'll take a look and try to look deeper later.

D-an-W commented 5 years ago

That fork does work for preventing DS files but for some reason iCloud Drive in Folder doesn't work with it.

JK3Y commented 5 years ago

That fork does work for preventing DS files but for some reason iCloud Drive in Folder doesn't work with it.

This has been fixed.