We have a bundle myapp.component and inside it we have a 'Contents' directory with the following permissions:
drwxrwxrwx 4 root wheel 136 Mar 18 15:05 Contents When I try to delete this directory using
rm -rf Contents It fails with the reason
rm: Contents/Resources/myapp.rsrc: Permission denied rm: Contents/Resources: Directory not empty We do have permissions to delete the 'Contents' directory so why does it still fails?
Edit: If I move the bundle from /Library/Audio/Plug-Ins/Component to ~/tmp/ then It will delete the folder without any problems
Thank you
myapp.rsrcusingstat Contents/Resources/myapp.rsrc?