MacOS permissions issue


Running UPDD command line utility (upddutils) and various other commands (e.g upddprocesses) require that the current user has permission to access folder /usr/local/bin.

A few users reported that the command was not found i.e. in a terminal it would be seen as 'upddutils: command not found'

Another variation of this issue is UPDD commands failing to open, showing various error when invoked from a Terminal window, as in this example invoking UPDD Test program:

 

In one instance is was also discovered that the /usr/local/bin folder was owned by a non-existent user account and could not be accessed by regular user accounts: We suspect some other software made this folder change.

The permissions issue was fixed by executing the following commands in Terminal:

sudo chmod 755 /usr/local/  (may not be required if this folder is unaffected - it was in one occurrence we investigated)
sudo chmod -R 755 /usr/local/bin/

It should ask for your admin password after the first command (as per this example of the command sequence to set the root account and permissions on /usr/local/bin/: (this example uses 777 but 755 is more correct)

Posted 3 Years Ago, Updated 10 days ago @ 11:05 PM
http://support.touch-base.com/Documentation/50470/MacOS-permissions-issue