[lldb-dev] Java ::posix_spawnp permission denied

Greg Clayton gclayton at apple.com
Fri Nov 22 15:55:51 PST 2013

Permission denied can apply to a bunch of different things:
1 - no permissions for the executable or the executable is from a different user
2 - one of the file rules was using a file that someone didn't have correct permissions (usually the stdin/out/err file handles that we pass down)

So you will need to check the permissions of the executable you are launching and also the files for stdin/out/err.

On Nov 22, 2013, at 1:37 PM, Yin Ma <yin at affinic.com> wrote:

> Hi,
> When using lldb with Maverick to debug a java application, a permission deny error on posix_spawnp.
> Error: error: ::posix_spawnp( pid => 88852, path = … err = permission denied.
> Does lldb has any limitation on this? What’s the possible way to fix this?
> Thanks,
> Yin
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

More information about the lldb-dev mailing list