Closed mirams closed 1 year ago
I have not upgraded yet. Will reproduce shortly this week or next when I get time. Just to make sure, you did't install from Mac AppStore right?
having the same issue. running M2 mac mini and using the website installation for M1/M2. any updates?
I just updated to Sonoma. The script appears to still work for me. I have the x86 chip.
sudo python math-with-slack.py --macos-codesign
Note the --macos-codesign
flag.
I searched a bit more, and it seems like some people have similar issues with other softwares:
Perhaps try the methods mentioned in these threads, if --macos-codesign
option above is not sufficient?
For the first link, perhaps try
sudo chflags nouchg,noschg /Applications/Slack.app/Contents/Resources/app-{your achitecture}.asar
For the second link, something like this:
# Change script to executable
chmod +x math-with-slack.py
# Give enough permission to ./math-with-slack.py so that it can access `/Applications/Slack.app/Contents/Resources/app-{your achitecture}.asar`
# follow the post in https://nono.ma/operation-not-permitted-macos-sonoma
# run the script
sudo ./math-with-slack.py --macos-codesign
I ran with --macos-codesign
and initially had the same problem. Then I found this setting in the Privacy & Security section:
and switching that on as well worked, thanks.
the app management thing worked for me, thanks!!! However, now everytime i quit slack i have to relogin. anyone have this?
the app management thing worked for me, thanks!!! However, now everytime i quit slack i have to relogin. anyone have this?
That symptom sounds like you weren't using the codesign option?
I did use the codesign option.
I did use the codesign option.
Hmm. I don't have this issue. Perhaps try reinstalling Slack? Make sure it's opened once before running the script. Once you installed, the next time you open Slack it should prompt for root permission. If it's not doing that, there's likely something failed with code signing
So you are right, last time it did not ask for anything so I did reinstall and run the script again (opened slack one time before running the script) and now it asks for "slack safe storage" in the keychain, and requires a password for each channel I am in. Super weird...
So you are right, last time it did not ask for anything so I did reinstall and run the script again (opened slack one time before running the script) and now it asks for "slack safe storage" in the keychain, and requires a password for each channel I am in. Super weird...
I think you are seeing the intended behavior now. Glad that it worked out!
I'm on the new macOS Sonoma 14, and Slack Version 4.34.121. The install script fails with:
suggesting a permissions issue, but I am running with sudo. Any advice?