/usr/ports/distfiles copies of downloaded files/usr/obj/ports scratch area for building ports/usr/ports/plist PLISTs of installed ports/var/db/pkg PLISTs of installed packages.profile and checkout/update ports tree/etc/mk.conf
SUDO=/usr/bin/sudo
PLIST_DB=${PORTSDIR}/plist
WRKOBJDIR=/usr/obj/ports
USE_SYSTRACE=Yes
wsrc groupsudo chgrp -R wsrc /usr/portssudo chgrp -R wsrc /usr/obj/portssudo find /usr/ports -type d -exec chmod g+w {} \;sudo find /usr/obj/ports -type d -exec chmod g+w {} \;« start