Permission denied on copy of AudioUnit in OS X 10.11
Permission denied on copy of AudioUnit in OS X 10.11
- Subject: Permission denied on copy of AudioUnit in OS X 10.11
- From: Howard Moon <email@hidden>
- Date: Wed, 06 Apr 2016 09:32:59 -0700
I am having a problem in OS X 10.11 that didn’t happen in earlier systems. In my run script phase, I copy the final build of my AudioUnit plug-in to the Components folder, but am getting a “Permission denied” error.
I added group write permissions to the whole /Library/Audio tree, but it still gives me that error. Here is my script line that fails:
cp -pR "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.${WRAPPER_EXTENSION}" "/Library/Audio/Plug-Ins/Components/${PRODUCT_NAME}.${WRAPPER_EXTENSION}"
(The quotes are because PRODUCT_NAME has a space in it.)
This used to work in older OS. The file does not exist there (and should be removed via rm before the cp if it does). The permissions on the Components folder (as shown by “ls -l”) shows “drwxrwxr-x”, with “root” and “wheel” listed. When I look at my older OS, I see “admin”, not “wheel” there, but otherwise the same permissions.
How do I get this to work?
Thanks, -Howard
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden