Comments (5)
Indeed! I should have checked how old the link was - no idea where it came from. I've been dragging this user profile from Mac to Mac since forever, so maybe this is ruins from an ancient civilisation of developers or something.
The installer could detect if /Library/Mail/Bundles is a dangling symlink, and auto-fix it? -L
means it's a link, ! -e
means does not exist.
if [[ -L "$targetDir" ]] && [[ ! -e "$targetDir" ]]; then
rm "$targetDir"
mkdir "$targetDir"
fi
The test could also use -w
instead or on top of -e
to see if we can write to the target.
from mailtrackerblocker.
Workaround:
This was caused by /Library/Mail/Bundles being a symlink to /System/Volumes/Data/MailBundles/Library/Mail/Bundles which did not exist (and wouldn't be writable anyway).
One workaround is to:
rm /Library/Mail/Bundles
mkdir /Library/Mail/Bundles
from mailtrackerblocker.
@grischard Thank you for the detailed report (and for solving your own issue?๐ ).
This seems to be the same as #27. I'm not sure why some users have this symlink to begin with. This makes me a bit iffy about touching it through the postinstall script.
from mailtrackerblocker.
Thanks for the insight.
I have a clean Big Sur setup (i.e. no prior migrations) and it doesn't have this issue. But I might end up doing your suggestion since this doesn't seem to be an isolated case. Lots of users end up inheriting odd settings like this for every macOS update.
from mailtrackerblocker.
We can close this then. Thank you very much!
Clean Big Sur setup? I envy you :)
from mailtrackerblocker.
Related Issues (20)
- Unidentified tracker from Best Buy HOT 1
- MTB won't work with macOS 12.6 (and 11.7) HOT 4
- macOS 12.6 breaks MailTrackerBlocker HOT 5
- Crashing w/ 0.7.6 Nitty Gritty & Mac Mail 16.0 on Monterey 12.6 HOT 2
- Not working with MacOS 13.1 Beta, Mail Version 16.0 (3731.300.51) HOT 2
- Unidentified tracker from Steam HOT 1
- Unidentified tracker from DMN HOT 1
- Canary read receipt trackers not blocked HOT 9
- postinstall edits (especially for Homebrew) HOT 3
- Email with all images blocked HOT 3
- Please update for Mail Version 16.0 (3731.500.192.1.1) on macOS 13.3 beta 2 HOT 1
- Consistent "internal error" when selecting Help from 3 vertical dots menu HOT 2
- Future of MailTrackerBlocker โ Porting from Plugin to Mail Extension HOT 42
- Unidentified trackers 8 HOT 1
- Mail crashes with 1.0 version of MailTrackerBlocker from Appstore HOT 10
- Unable to install in macOS Sonoma 14.1 HOT 2
- Broken under Mac OS Sonoma? HOT 1
- MailTrackerBlocker 1.0.6 displays corrupted text in mail messages (apostrophes are changed to "รขโฌโข"โฆ) HOT 1
- Installation crash through brew on macOS 14.4 HOT 2
- Cannot install Plugin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailtrackerblocker.