run these 2 commands first:
Code:
sudo mount -uw /
sudo killall Finder
These 2 commands first before what ? Thank you
Here is what I just tried :
-----------------------------
Mayas-iMac:~ mayakovsky$ sudo spctl --master-disable
Mayas-iMac:~ mayakovsky$ sudo mount -uw /
Mayas-iMac:~ mayakovsky$ sudo killall Finder
Mayas-iMac:~ mayakovsky$ sudo curl -o /usr/bin/gen_debug
https://raw.githubusercontent.com/black-dragon74/OSX-Debug/master/gen_debug.sh && sudo chmod a+x /usr/bin/gen_debug
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file /usr/bin/gen_debug: Operation not permitted
5 23781 5 1371 0 0 5929 0 0:00:04 --:--:-- 0:00:04 5935
curl: (23) Failed writing body (0 != 1371)
Mayas-iMac:~ mayakovsky$ chmod a+x ~/downloads/install_tools.sh
Mayas-iMac:~ mayakovsky$ ~/downloads/install_tools.sh
Installing debug report generator....
Checking your internet connection....
Internet connectivity is all good to go.
Downloading the latest version from GitHub...
cp: /usr/bin/gen_debug: Operation not permitted
chmod: /usr/bin/gen_debug: No such file or directory
Tool installed successfully.
Would you like to generate a report now?[y/n]: y
Thank You! Generating report in T-2 seconds...
/Users/mayakovsky/downloads/install_tools.sh: line 54: gen_debug: command not found
Mayas-iMac:~ mayakovsky$
--------------------------------------------------
I also tried :
--------------------------------------------------
Mayas-iMac:~ mayakovsky$ sudo mount -uw /
Mayas-iMac:~ mayakovsky$ sudo killall Finder
Mayas-iMac:~ mayakovsky$ chmod a+x ~/downloads/install_tools.sh
Mayas-iMac:~ mayakovsky$ ~/downloads/install_tools.sh
Installing debug report generator....
Checking your internet connection....
Internet connectivity is all good to go.
Downloading the latest version from GitHub...
cp: /usr/bin/gen_debug: Operation not permitted
chmod: /usr/bin/gen_debug: No such file or directory
Tool installed successfully.
Would you like to generate a report now?[y/n]: y
Thank You! Generating report in T-2 seconds...
/Users/mayakovsky/downloads/install_tools.sh: line 54: gen_debug: command not found
Mayas-iMac:~ mayakovsky$