info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Cvs question.


From: DAS, AJAY (SBCSI)
Subject: RE: Cvs question.
Date: Fri, 11 Apr 2003 08:38:04 -0500

Thanks very much Eric. I haven't tried out this yet. I was thinking if there
were some cvs command instead of unix commands for taking cvs offline.

Thanks,
Ajay.

-----Original Message-----
From: Eric Siegerman [mailto:address@hidden 
Sent: Thursday, April 10, 2003 11:56 AM
To: address@hidden
Subject: Re: Cvs question.


On Thu, Apr 10, 2003 at 07:14:48AM -0400, Donald Sharp wrote:
> On Wed, Apr 09, 2003 at 06:08:10PM -0500, DAS, AJAY (SBCSI) wrote:
> > I want to know how to take cvs off-line so that only administrator can
> > access it . And if other users want to use it they would get some
message
> > like 'cvs is not available' or something like that.
> 
> [methods for blocking remote access]

Another possibility is to chmod the repository so that nobody but
the admin can access its contents:
        chown root /Repos
        chmod 700 /Repos
Then restore the permissions (and ownership if necessary)
afterwards.

The userid in question doesn't have to be root -- and depending
on what you're up to, probably shouldn't be.

If the point of the exercise it to take backups, and backups are
done as root anyway, then sure, use root for this too.  But if
your goal is to let you personally do some surgery without people
messing things up on you, chowning the repo to your own userid
will be just as effective (you have to do the "chown" itself as
root, of course).

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
My Wine works.  However it crashes about half the time on startup.
Apparently their simulation of windoze API is getting too accurate.  :)
        - Kyle Sallee



_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]