"persist" is only for a limited time (5 minutes, IIRC). With persist off, it's at every doas issuance, even if they're only a microsecond apart.
Some options:
1. Set your PREFIX, LOCALBASE, and TRUEPREFIX to directories that you have write access to, and add it LOCALBASE/bin directory to your PATH. That seems like a bad option.
2. Set nopass and use strong passwords locally and ssh keys only remotely. That sounds wise.
3. Use packages instead of ports. How many ports are you building anyway? Why? You almost certainly don't need to be building packages yourself.
|