|
|
CFMApp to run App as root--didn't work
I tried the suggestion for running BBEdit as root using CFMApp. The result was the message "alias: too dangerous to alias that".
Here's how I got it working...
Hmm, worked fine for me, although I used a slightly different version of the command:
alias bbroot "sudo /System/Library/Frameworks/This let me open and edit the httpd.conf file as my normal user ... nice to have this functionality back for Carbon apps. -rob.
CFMApp to run App as root--didn't work
Ned... it works for me, in both 10.1.5 and 10.2.1, both in the original form with quotes, and in rob's form above with backslash escapes. (The backslashes arise naturally by dropping the BBEdit icon onto Terminal, but in my experience, submitting them to Geeklog is asking for trouble :-)
Maybe you typed `alias' twice? So far as I can tell (by grepping the code: line 231 here, line 313 here), the only thing that would trigger your error message is if we try to alias something to `alias' (or `unalias') itself -- which of course would get us hosed. E.g.:
[localhost:~] fz% alias alias emacs |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|