Hot answers tagged permission
For whatever reason, you have a sudo installed in /usr/local/bin (see the output of type). Did you install something with homebrew or another package manager? To fix, run /usr/bin/sudo mv /usr/local/bin/sudo /usr/local/bin/sudo-strange or (if you want to get rid of it completely) /usr/bin/sudo rm /usr/local/bin/sudo
First, as an FYI, you only need to boot into the recovery partition to repair permissions when you are trying to repair permissions on your computer's boot drive. To do it for any other drive, simple select it in Disk Utility and click the Repair Disk Permissions button. This may solve your problem, so try that first. After that, the simplest solution is to ...
Most of the problems I seem to have with this kind of thing come from the ACL rather than the basic permissions. Usually what I end up doing to fix the problem is to format another drive to get the default permissions and ACLs then use these commands to copy them to my old drive: chown $(stat -f%u:%g "$srcdir") "$dstdir" # Copy owner and group chmod $(stat ...
Only top voted, non community-wiki answers of a minimum length are eligible