[TxMt] mate and file owner

Allan Odgaard throw-away-1 at macromates.com
Fri Nov 3 04:24:16 UTC 2006


On 3. Nov 2006, at 05:09, Une Bévue wrote:

>> This calls mate as super user, but mate only passes a file name to  
>> TextMate, which is still running as your regular user -- so this  
>> doesn’t work as you expect.
> ok thanks, and using :
> sudo open -a <absolute_path_2_TextMate> <my_config_file> would open  
> another TextMate ?

No, it would effectively do the same as mate (i.e. sending the  
filename to TextMate).

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).




More information about the textmate mailing list