| 39 | <para>In order for these commands to work, you're going to need |
| 40 | permission to write to certain areas of your MacPorts tree. You |
| 41 | need to be able to write |
| 42 | to <filename>${prefix}/var/db/mports/build</filename> and |
| 43 | <filename>${prefix}/var/db/mports/distfiles</filename>. You |
| 44 | could run all of these commands as a superuser (prefix the |
| 45 | commands with <command>sudo</command>), but you might |
| 46 | accidentally install a broken package that way, or otherwise |
| 47 | screw up your MacPorts installation. Another option is to change |
| 48 | the owner of just those directories to your user, so you can |
| 49 | write to those directories but not your whole |
| 50 | <filename>${prefix}</filename> tree. To do this, |
| 51 | run <userinput>chown username |
| 52 | ${prefix}/var/db/mports/build</userinput> and <userinput>chown |
| 53 | -R username ${prefix}/var/db/mports/distfiles</userinput>.</para> |
| 54 | |