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)?

On Sep 9, 2016 8:04 AM, "Stephen Trotter" <[email protected]>
wrote:

> Raf,
>
> Yes I was attempting to follow the instructions and was logged in as my
> user, not as root. And I was pulling the src from cvs (for the first time)
> and using the -r option for the stable version.
>
> Theo,
>
> 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
> 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.)
>
> On Sep 9, 2016 1:20 AM, "Theo Buehler" <[email protected]> wrote:
>
>> On Fri, Sep 09, 2016 at 12:54:05AM -0400, Stephen Trotter wrote:
>> > hi,
>> > i was attempting a fresh install of 6.0 and got to the part where you
>> pull
>> > the source tree and update the system to stable.
>> > i was stuck because the faq states you can (should) use a regular user
>> with
>> > cvs, and i kept getting a permission error from cvs when attempting to
>> run
>> > from /usr
>> > so, just wondering if anyone else was getting this, or if there is
>> > something that i missed.
>> >
>>
>> Is your user member of the group wsrc?  Use id(1), for example.
>>
>> By default, /usr/src is owned by root:wsrc with permissions 0775.  This
>> means that you need to be root or a member of group wsrc in order to
>> write to it.  FAQ 5 'avoiding root' tells you how to add your user to
>> wsrc before running cvs: user mod -G wsrc youruser

Reply via email to