OpenModelica?

David Herron david at davidherron.com
Sat Apr 7 16:22:51 UTC 2018


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 <murrayeisenberg at gmail.com>
wrote:

> 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/ >>
> /opt/local/etc/macports/sources.conf
>
> But even with sudo, I’m getting a "Permission denied" error.
>
> How to fix this?
>
> ---
> Murray Eisenberg murrayeisenberg at gmail.com
> 503 King Farm Blvd #101
> <https://maps.google.com/?q=503+King+Farm+Blvd+%23101&entry=gmail&source=g> Home
> (240)-246-7240
> Rockville, MD 20850-6667 Mobile (413)-427-5334
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180407/9b2d04b1/attachment.html>


More information about the macports-users mailing list