Hello,

We are trying to setup RCS with SUID to prevent users other than the primary user from deleting revisions. We followed the directions in the man page for ci, but we are getting permissions issues when we try to checkout as one of the other users.

This is our setup:

 * Master user: sjc001
 * Group permitted to CI/CO: fte
 * Test alternate user in the fte group: sha001

This is the procedure we followed from the man page:

 * mkdir /usr/local/rcs-sjc001
 * cp /usr/bin/ci /usr/local/rcs-sjc001/
 * cp /usr/bin/co /usr/local/rcs-sjc001/
 * cp /usr/bin/rcsclean /usr/local/rcs-sjc001/
 * chmod go-w,u+s /usr/local/rcs-sjc001/*
 * PATH=/usr/local/rcs-sjc001:$PATH; export $PATH
 * mkdir /projects/rcs-test/test
 * chmod go-w /projects/rcs-test/test

We then, with sjc001, create a test file and check it in. Once that is done, we try to check out with sha001 and get the following error:

test]$ co -l xorgxrdp.10.log
xorgxrdp.10.log,v  -->  xorgxrdp.10.log
revision 1.1 (locked)
co: xorgxrdp.10.log,v: Operation not permitted
co: saved in ,xorgxrdp.10.log,

Why is it when we follow the procedure for setuid that is in the man page do we get permission denied when we are trying to check in/check out even though we are using setuid?

Reply via email to