Date: Wed, 10 Mar 2004 15:39:15 +0100 From: db <db@traceroute.dk> To: hackers@freebsd.org Subject: cvsd problems Message-ID: <20040310153915.307f2eaa@main.trunet.dk>
next in thread | raw e-mail | index | archive | help
Hi all I want to run a jailed cvs server, where users only have write access to their own projects. So this is what I have done: Jaildir: /home/cvs portinstall cvsd mv /usr/local/etc/rc.d/cvsd.sh.sample /usr/local/etc/rc.d/cvsd.sh chmod 770 /usr/local/etc/rc.d/cvsd.sh mv /usr/local/etc/cvsd/cvsd.conf.sample /usr/local/etc/cvsd/cvsd.conf *Edit /usr/local/etc/cvsd/cvsd.conf RootJail /home/cvs Repos /repos cvsd-buildroot /home/cvs cvs -d /home/cvs/repos init mkdir /home/cvs/tmp/lock chown cvsd:cvsd /home/cvs/tmp/lock truncate -s 0 /home/cvs/etc/passwd *Edit /home/cvs/repos/CVSROOT/config LockDir=/tmp/lock mkdir /home/cvs/libexec #Is this a bug in cvsd? cp /usr/libexec/ld-elf.so.1 /home/cvs/libexec Create some users. /usr/local/etc/rc.d/cvsd.sh start Creating a new user/project: cvsd-passwd /home/cvs/repos username Add the user to /home/cvs/(master.)passwd pwd_mkdb -d /home/cvs/etc /home/cvs/etc/master.passwd Now I can login, but when wanting to do anything I get: cvs -d :pserver:xx@xxxxx.xx:/repos checkout tester setgid failed: Operation not permitted What have I done wrong and what do I need to do now? br db
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040310153915.307f2eaa>