It's because the stdout redirect is executing as your user ID, and this has
nothing to do with MacPorts
The solution is to first do:
sudo su -
This gets you to a full root shell. Then you do the command you said.
+ David Herron
On Sat, Apr 7, 2018 at 9:20 AM, Murray Eisenberg <murrayeisenb...@gmail.com>
> I’m trying to install the port of OpenModelica. The instructions at
> https://www.openmodelica.org/download/download-mac give, as first step:
> echo rsync://build-openmodelica.org/macports/ >>
> But even with sudo, I’m getting a "Permission denied" error.
> How to fix this?
> Murray Eisenberg murrayeisenb...@gmail.com
> 503 King Farm Blvd #101
> Rockville, MD 20850-6667 Mobile (413)-427-5334