How do I add a custom alert sound in macOS Sierra? I've made some sounds I want to use in a variety of applications but when I try to add them to the /System/Library/Sounds folder, it says The operation can’t be completed because you don’t have the necessary permission. I also get the same message trying to add myself to the permissions on the Get Info window.
MacOS – How to add a custom alert sound in macOS Sierra
alertaudiomacos
Best Answer
Copy the sound file to
~/Library/Sounds
, which is in your Home folder not/System/Library/Sounds
in the root of the Macintosh HD. The sound file will then show in System Preferences > Sounds > Sound Effects for you to select as the alert sound.Note: To expose the Library folder within your Home folder, click Finder > Go > press the option key and select Library.
Update to address comment:
First you need to disable System Integrity Protection.
Type the following command into Terminal then press enter:
You’ll see a message saying that System Integrity Protection has been disabled and the Mac needs to restart for changes to take effect
After copying the file(s) to
/System/Library/Sounds
you'll need to enable System Integrity Protection usingcsrutil enable
following the steps above.With System Integrity Protection disabled, then to copy the sound file(s) to
/System/Library/Sounds
you'll needed to usesudo
withcp
in Terminal.Example:
Note that is a
.
at the end of the command, so as to copy the file into the current directory. You'll be prompted for an Administrator password when usingsudo
and when you type the password you'll not see any response as the typing of the password is hidden. Just type the password and press enter for the command to execute.