site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jun 25, 2005, at 15:41 , Adam Nohejl wrote: I'd forgotten that 'open' isn't really needed for the app itself. Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large Institute for General Semantics -------- It's not whether you win or lose... It's whether *I* win or lose. -------- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 2005/06/25 v 21:58, Justin C. Walker: You have to run gdb as root to debug processess running as root. (If you think about it, it makes sense.) I don't know whether there's any way for Xcode to run gdb as root but you can do it yourself (using sudo) if you don't depend on Xcode's GUI. [snip] I think you have to log in as root to do this; as I recall a change was made to Mac OS X a while back to prohibit launching GUI apps as root while logged in as not-root (or, perhaps, just prohibiting launching GUI apps under a different ID than that of the logged-in user; I forget). Not really. If one really needs to run a GUI application as root it's quite easy using sudo, e.g.: sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit & Right you are; I was talking about "sudo open ....", which sheds the 'root' ID when it runs (i.e., it switches to that of the logged-in user). This was changed because it was perceived (I think) as a security issue... This email sent to site_archiver@lists.apple.com