Open nick-at-artsed opened 2 years ago
@nick-at-artsed Could you provide the exact steps to reproduce this?
@targendaz2 yes this is on either a mac mini M1 or MacBook Air M1 on macOS 11.5
The issue occurs when...
set com.microsoft.edgemac -p http -p https -u public.url all -u public.html viewer -u public.xhtml all
orset com.microsoft.outlook -p mailto -p webcal -u com.apple.ical.ics all -u com.apple.ical.vcs all
I can also replicate the issue by...
msda set com.microsoft.edgemac -p http -p https -u public.url all -u public.html viewer -u public.xhtml all
ormsda set com.microsoft.outlook -p mailto -p webcal -u com.apple.ical.ics all -u com.apple.ical.vcs all
In either scenario I can restore Finders normal functionality with msda set com.apple.safari -p http -p https -u public.url all -u public.html viewer -u public.xhtml all
or by changing parameter 4 to com.apple.safari
@nick-at-artsed Thanks for that info. If you could give me the exact steps to test this as well, I can do some troubleshooting.
@targendaz2 I have made a screen recording for you here: https://artsed001.blob.core.windows.net/assets/msda_finder.mov
@nick-at-artsed It looks like you're not running the commands as root (i.e. with sudo). Does the same behavior happen if you do that?
@targendaz2 yes, the same behaviour when run with sudo privilege, also when ran as a Jamf Pro script (ie., also root). Our devices use Jamf Connect so am wondering if this changes anything about lshandlers? I will try to replicate on a clean install to eliminate this.
We have seen this behavior intermittently on our Macs with Big Sur since deploying MSDA, however until seeing this post I never thought the two might be related. Would be willing to help troubleshoot to get further details on one of our affected machines if it will help.
I'm working on v2 of this app under the jxa-v2
branch. It should resolve this issue. I don't have an ETA at this time, but I'll follow up once it's released.
Using the examples on macOS 11.5 leaves Finder unable to read and write. Example: The Finder can't complete the operation because some data in "somefile.xlsx" can't be read or written. (Error code -36) Using
msda set com.apple.safari -p http -p https -u public.url all -u public.html viewer -u public.xhtml all
will return functionality.