You only need to change permissions on the
/usr/obj
Run these as root
install -dm0775 -o _pbuild -g _pbuild /usr/obj
install -dm0775 -o _pbuild -g _pbuild /usr/obj/ports
Also the variables DISTDIR and PACKAGE_REPOSITORY
are redundant, since those are the default values
anyway.
In /etc/doas.conf, replace the three commands with
their complete paths. This will save a headache,
believe me.
Setting WRKOBJDIR is not really usefull, the default
location(/usr/ports/pobj) works fine, unless it's an
aesthetic issue, since it deals mostly with temporary
data
Only real use according to me, is to set /usr/ports
as read-only by pushing all work directories out of it.
No comments:
Post a Comment