[cvsacl-users] How to permit a single file and deny others for a user?
Brought to you by:
sbaris
From: Lu J. <jx...@fu...> - 2005-04-20 03:42:35
|
One of my friend, who serve as a team leader in an software company ask me for a solution to permit a single file and deny others for a user, who might just enter the team serveral days before a project's leadline. So I tried to find the way (allow user "developer1" to access a file exer1/lib/hello.c and deny other access), but failed, here is the logs: Server side: [root@edusrv cvs]# cat CVSROOT/aclconfig |grep ^[^#] UseCVSACL=yes CVSACLDefaultPermissions=n UseSystemGroups=yes [root@edusrv cvs]# cat CVSROOT/access f:exer1/lib/hello.c:HEAD:developer1!a: d:ALL:ALL:root!p: [root@edusrv cvs]# ls -al total 28 drwxrws--x 6 root cvs 4096 Apr 19 15:14 . drwxr-xr-x 23 root root 4096 Apr 13 13:26 .. -rw------- 1 cvsadmin cvsadmin 3 Apr 19 15:14 .bash_history drwxrwsr-x 3 root cvs 4096 Apr 19 20:09 CVSROOT drwxrwxr-x 2 jxlu cvs 4096 Apr 19 19:48 exer0 drwxrwxr-x 3 developer0 cvs 4096 Apr 19 20:07 exer1 drwxrws--- 2 proj0 proj0 4096 Apr 19 15:12 proj0 [root@edusrv cvs]# cvs --version Concurrent Versions System (CVS) 1.11.18 (client/server) with CVSACL Patch 1.2.2 (cvsacl.sourceforge.net) Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn, Jeff Polk, and other authors CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS [root@edusrv cvs]# Client side: E:\CVS WorkSpace>cvs up exer1 cvs update: Updating exer1 cvs update: permission denied for exer1/README.txt cvs update: Updating exer1/lib cvs update: permission denied for exer1/lib/Makefile cvs update: permission denied for exer1/lib/hello.c E:\CVS WorkSpace>echo %CVSROOT% :pserver:developer1@10.10.90.251:/var/cvs E:\CVS WorkSpace>cvs --version Concurrent Versions System (CVSNT) 2.5.01 (Travis) Build 1927 (client/server) Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn, Jeff Polk, and other authors CVSNT version (Apr 4 2005) Copyright (c) 1999-2004 Tony Hoyle and others see http://www.cvsnt.org Commercial support and training provided by March Hare Software Ltd. see http://www.cvsnt.com CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. SSH connectivity provided by PuTTY: PuTTY is copyright 1997-2001 Simon Tatham. Portions copyright Robert de Bath, Joris van Rantwijk, Delian Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, Justin Bradford, and CORE SDI S.A. see http://www.chiark.greenend.org.uk/~sgtatham/putty/ Specify the --help option for further information about CVS E:\CVS WorkSpace> Is there any solution? Thanks. |