I cannot open Safari, when I did open -a Safari error -10810 appeared
When opening an application with the open command, you should use the -a option, e.g:

open -a "Safari"


From the man page for the open command:


  -a application
  &nbsp;&nbsp;&nbsp;  Specifies the application to use for opening the file


Note: If you use the -a option, you typically do not need to specify the pathname or even use the .app extension. Just the format as in the example shown above should work.




In Terminal, the executable permission (and others) output of:

ls -l /Applications/Safari.app/Contents/MacOS/Safari


Should be:

-rwxr-xr-x


If not, then in Terminal, run the following command:

sudo chmod 0755 /Applications/Safari.app/Contents/MacOS/Safari


This will ensure the proper permissions on the Safari executable and should stop you from getting the error you've got.