Re: setuid tool - repair permissions
Re: setuid tool - repair permissions
- Subject: Re: setuid tool - repair permissions
- From: Chad Wagner <email@hidden>
- Date: Mon, 16 Jul 2007 12:51:31 -0400
wow, thanks! that was exactly it. I would have saved myself a lot of time if I had seen that sooner!oh well, I'm just glad it was that simple (though I'm feeling a little dumber -- but in my defense a helpful error message would have been nice, rather than errAuthorizationSuccess "the operation completed successfully") On Jul 16, 2007, at 12:19 PM, Julian Devlin wrote: I don't know if this is the root of the problem, but this: char *myArguments[] = { "root:admin", fn };
should be:
char *myArguments[] = { "root:admin", fn, NULL };
I wouldn't be surprised if AuthorizationExecuteWithPrivileges does some sanity check on the number of arguments.
-Julian |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden