The launch service API LSSetDefaultRoleHandlerForContentType fails with -54 error when used UTI as "public.html".
However it works well with rest of the UTI types xml, rtf, text ,xhtml etc. The OS X tested with was 10.11 an 10.10. The application from whether this API was executed was NOT sandboxed. Same result when exeucted with root context.
Console error message "Unentitled request to set default handler for content type public.html by pid "
Could you throw some light on the possible causes why API should fail for html uti type.
Thanks,
Rupesh