[TxMt] mate and file owner

Jay Soffian jay-txmt at soffian.org
Fri Nov 3 07:29:21 UTC 2006


On Nov 2, 2006, at 11:24 PM, Allan Odgaard wrote:

> There basically is no way you can currently do what you want -- but  
> since ‘sudo mate’ is (by several users) expected to transfer the  
> super user privileges to TextMate (for just that file), I will look  
> into how this could possibly be pulled off sometime in the future  
> (it would be a nice little feature).

This starts up a second instance of TextMate running as root:

sudo /Applications/TextMate.app/Contents/MacOS/TextMate

You could then open/save <my_config_file> from within that TextMate.

I have a feeling though that this is a pretty bad idea with potential  
to wreak all sorts of havoc.

j.


More information about the textmate mailing list