On Fri, Sep 09, 2016 at 08:10:19AM -0400, Stephen Trotter wrote:
> Also I should mention that I was able to get the commands to work by going
> into /usr/src and running from there, but did find afterward that a new
> copy of src was put into the folder ( i.e. /usr/src/src/ ) so I did end up
> moving everything up a directory. I am not sure, will this affect cvs in
> the future, or should I be ok as long as I run it with the full command to
> pull the src, from /usr (oppossed to running the update command first)?

I'd remove /usr/src/src, otherwise cvs will recurse into it and you'll
end up having two full source trees (which will likely not fit on the
default /usr/src partition). It is recommended that you work from a src
tree based on /usr, not one level up, especially if you're new to this.

I tried myself on a fresh install, added my user to wsrc, and I can
confirm that I got permission errors (write permissions denied to
/usr/src) which went away after logging out and logging in again.
Not entirely sure what happened there... Will investigate this later.

> > The user is a member of wsrc. That was part of the reason I was so
> > confused at the time. (I can't verify with id at the moment, but I did
> > check /etc/group to ensure the user was listed under wsrc.)
> >
> > I suspect that /usr is not owned by wsrc possibly, and that cvs was trying

That shouldn't be necessary. /usr is root:wheel with 755 permissions.

> > to write to /usr but I cannot confirm right now. When I am able to, I will
> > run cvs again without the -q option and see if there is any extra detail I
> > can include.
> >
> > Thanks, will reply again when I can run those.
> >
> > (As a side note, should doas be enabled by default? I don't recall any
> > instruction in the faq on setting it up, but when I try to use it, it
> > fails.)

Doas is not enabled by default, you enable it by creating an /etc/doas.conf
a line such as

permit youruser as root

should normally be enough. See also tedu's nice writeup here:
http://www.tedunangst.com/flak/post/doas-mastery
(note that the persist feature is only in -current).

Reply via email to