Reputation: 19051
Couldn't Create Link
Creating the link “/usr/bin/mate” failed with the following reason: Operation not permitted
I am getting this error when I attempt to link the terminal usage with TextMate.
I did this by going Help >> Terminal Usage...
And I tried to create a link in /usr/bin.
I think the problem is something to do with permission issue.
I am wondering if there is a way to work around this problem by changing bash file directly or something and make terminal recognize "mate" as a command.
Thank you for any suggestion.
Upvotes: 0
Views: 3475
Reputation: 623
Assuming Textmate is installed in /Applications
the following command in the terminal should manually create the link for you:
$ sudo ln -s /Applications/TextMate.app/Contents/SharedSupport/Support/bin/mate /usr/bin
The command will ask you for your user account's password so it has the permissions necessary to create the link in /usr/bin/
Upvotes: 9
Reputation: 411072
There should be an option to create it in /usr/local/bin
. Create it there. Make sure /usr/local/bin
is in your $PATH
.
Upvotes: 3