Re: [ilugd] Restrcting direct access to CVS repository

2009-05-11 Thread selvamuthukumar v

 First read this section to understand how to run CVS as a server
 http://owen.sj.ca.us/rkowen/howto/cvs.html#server

 Next, read this section to see how to restrict access
 http://owen.sj.ca.us/rkowen/howto/cvs.html#access


I'm not using pserver. I'm using local access. I'm ready to use
pserver if I can meet my requirement,

CVSROOT=:local:/cvsrep

What I'm trying to achieve is,

$ cvs co CVSROOT   --- should pass
$ cd /cvsrep  --- should fail
$ rm -rf /cvsrep/CVSROOT  --- should fail
$ rm -rf /cvsrep  --- should fail

Is there a way to achieve this?

-- 
Selva

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Restrcting direct access to CVS repository

2009-05-11 Thread Raj Shekhar

selvamuthukumar v wrote:


What I'm trying to achieve is,

$ cvs co CVSROOT   --- should pass
$ cd /cvsrep  --- should fail
$ rm -rf /cvsrep/CVSROOT  --- should fail
$ rm -rf /cvsrep  --- should fail

Is there a way to achieve this?




Untested, theoretical steps that might work

chown cvsgrp:cvsgrp /cvsrep
chmod -R go-X-r-w

--
Raj Shekhar
-
I love this planet! I've got wealth, fame, and access to the depths of
sleaze that those things bring.
-
Read the latest at my blog:
A Hard Day's Night 
http://rajshekhar.net/blog/archives/344-A-Hard-Days-Night.html


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Restrcting direct access to CVS repository

2009-05-10 Thread Ramkumar R
CVS is so outdated, I don't even remember using it. Consider switching
to bzr, git, svn or hg.

-- 
Artagnon (.com)

Please avoid sending me Word or PowerPoint attachments. See
http://www.gnu.org/philosophy/no-word-attachments.html

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Restrcting direct access to CVS repository

2009-05-10 Thread Raj Shekhar

selvamuthukumar v wrote:

I've a CVS repository running in my machine. I used to have working
copy in the same machine. I want to avoid accidental removal of files
from repository. Is there a way to limit direct access to repository?
(Repository should only be accessible with CVS commands) Still I want
to use the same machine for logging in and do the work.



First read this section to understand how to run CVS as a server 
http://owen.sj.ca.us/rkowen/howto/cvs.html#server


Next, read this section to see how to restrict access 
http://owen.sj.ca.us/rkowen/howto/cvs.html#access


note that you should backup your cvs repo anyway.
--
Raj Shekhar
-
I love this planet! I've got wealth, fame, and access to the depths of
sleaze that those things bring.
-
Read the latest at my blog:
A Hard Day's Night 
http://rajshekhar.net/blog/archives/344-A-Hard-Days-Night.html


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


[ilugd] Restrcting direct access to CVS repository

2009-05-09 Thread selvamuthukumar v
I've a CVS repository running in my machine. I used to have working
copy in the same machine. I want to avoid accidental removal of files
from repository. Is there a way to limit direct access to repository?
(Repository should only be accessible with CVS commands) Still I want
to use the same machine for logging in and do the work.

-- 
Selva

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/