Tuesday, September 12, 2017

Can't get cvs checkout for src and ports as a normal user to work

Hi, i'd trying to make a checkout of the sources and ports to my fresh openbsd 6.1 install, following this guide https://www.openbsd.org/anoncvs.html but when i try to make the checkout i get some errors.

I did this steps as root:
# user mod -G wsrc usuario
# cd /usr
# mkdir -p xenocara ports src
# chgrp wsrc xenocara ports src
# chmod 775 xenocara ports src

And as a normal user:
$ cd /usr
$ ls -la
total 92
drwxrwxr-x 18 root wsrc 512 Sep 12 11:32 .
drwxr-xr-x 13 root wheel 512 Sep 8 13:50 ..
drwxr-xr-x 7 root wheel 512 Apr 1 17:06 X11R6
drwxr-xr-x 2 root wheel 5632 Sep 8 13:45 bin
drwxr-xr-x 2 root wheel 1024 Sep 7 11:20 games
drwxr-xr-x 28 root bin 3072 Sep 7 11:20 include
drwxr-xr-x 6 root wheel 3072 Sep 12 05:18 lib
drwxr-xr-x 5 root wheel 512 Sep 7 11:20 libdata
drwxr-xr-x 6 root wheel 1024 Sep 7 11:20 libexec
drwxr-xr-x 11 root wheel 512 Sep 12 12:21 local
drwxr-xr-x 2 root wheel 512 Apr 1 16:39 mdec
drwxrwx--- 2 build wobj 512 Sep 7 11:19 obj
drwxrwxr-x 34 root wsrc 1024 Sep 12 11:29 ports
drwxr-xr-x 2 root wheel 4096 Sep 8 13:45 sbin
drwxr-xr-x 16 root wheel 512 Apr 1 16:39 share
drwxrwxr-x 2 root wsrc 512 Sep 12 11:28 src
drwxrwxr-x 2 root wsrc 512 Sep 12 11:32 xenocara
drwxrwx--- 2 build wobj 512 Sep 7 14:34 xobj

But, when i try to cvs checkout:
$ cvs -qd anoncvs@obsdacvs.cs.toronto.edu:/cvs checkout -rOPENBSD_6_1 -P src
cvs checkout: warning: cannot make directory CVS in .: Permission denied
cvs checkout: in directory src:
cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs checkout: cannot open CVS/Tag: No such file or directory
cvs checkout: cannot open CVS/Tag: No such file or directory
cvs checkout: cannot write src/Makefile: Permission denied
cvs checkout: cannot write src/Makefile.cross: Permission denied
cvs checkout: cannot open CVS/Tag: No such file or directory
cvs [checkout aborted]: cannot make directory src/bin: No such file or directory

No comments:

Post a Comment