Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Reasoning for the command syntax' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Reasoning for the command syntax
Authored by: NeuralNet03 on Apr 04, '03 11:25:48AM

I discovered, while I was writing this, that "sudo open <filepath" won't launch as sudo. /me thinks it's because sudo executes an Apple app called "open" that digs into the app package and opens the app. Problem is, the app doesn't get executed as root....only the package opener does. Not sure why that is the way it is, but this seems to work pretty well (for Cocoa apps...)

Someone asked on the channel a few days ago about launching the Finder as root (via this tip)

It -CAN- be done (maybe), but I'm not quite sure how, and I don't have an extra OS X machine to mess with (this old iMac is my primary and only X machine, so...) maybe when I get a new Tower, I'll have a few days to waste on getting a root Finder up and running.

[ Reply to This | # ]