The above works fine, but if you want new files to automatically inherit these permissions, set the ACL that is inherited (otherwise only the user who pours the bottle can delete it). Found tips on how to do this here: https://gist.github.com/nelstrom/4988643
Since root
started only once (provided that all users of the admin group must have access):
cd /usr/local chmod -R +a "group:admin allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit" Homebrew Caskroom Cellar bin chgrp -R admin Homebrew Caskroom Cellar bin chmod -R g+rwX Homebrew Caskroom Cellar bin ls -lae .
-e
on ls
shows the ACL.
Update : now I use certain directories (see above), since it failed (something like out of memory)
source share