[Top][All Lists]

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

Re: Cvs question.

From: Eric Siegerman
Subject: Re: Cvs question.
Date: Thu, 10 Apr 2003 12:55:32 -0400
User-agent: Mutt/1.2.5i

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)

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

reply via email to

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