MacPorts OS X 10.6.2 install problem

Ryan Schmidt ryandesign at
Wed Feb 24 20:01:31 PST 2010

On Feb 24, 2010, at 21:55, Ian Roache wrote:

> I think you're right about an OpenDarwin install years ago - completely forgotten. Your suggestion certainly looks like the solution, except that I can't find a way to change the read-only permissions to allow editing. Using mv to replace old with newly-edited files fails because of the same problem.

Become the superuser using the sudo command. And you should copy, not move; keep the defaults files as a reminder of what the defaults are. For example:

cd /opt/local/etc/macports
sudo cp macports.conf.default macports.conf
sudo cp sources.conf.default sources.conf
sudo cp variants.conf.default variants.conf

More information about the macports-users mailing list