Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

open command fails with error -10810

Switching from 10.4 to 10.5.3 I can no longer launch applications from the command line using the open command. For example:

some bloke's macbook$ open TextEdit.app
LSOpenFromURLSpec() failed with error -10810.

Seems to be some kind of permissions issue since it does work if I sudo open. Anyone know how to fix this?

macbook, Mac OS X (10.5.3)

Posted on Jun 4, 2008 2:35 AM

Reply
Question marked as Best reply

Posted on Jun 4, 2008 7:15 PM

The maximum number of non-root processes is already running; except through sudo and similar methods, you can't open anything more without quitting something.

(32677)
6 replies

Jun 24, 2008 5:35 PM in response to some bloke

I haven't actually searched for a solution to this, but the problem when I got this message was that the executable, in your case TextEdit.app/Content/MacOS/TextEdit, didn't have execute privileges. Since sudo works it may be that it has execute privileges for owner, root, but not everyone. You should be able to discover this with "ls -l" and if it's missing any x's just "chmod a+x TextEdit" (sudoing if need be).

Jun 24, 2008 9:16 PM in response to some bloke

It's interesting, yogh's post above might be the reason it's failing for you.

Based on that post, I removed execute permissions from the TextEdit binary in /Applications/TextEdit.app/Contents/MacOS, then tried to use open to run the application. Here's what I get:

% open -a TextEdit
LSOpenFromURLSpec() failed with error -10810.

Now, it may be that the above error is generic and could be generated by several things, but as yogh suggested it may be something to check...

open command fails with error -10810

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.