info-cvs
[Top][All Lists]
Advanced

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

Re: Problems with Attic permissions


From: Anne McCaffrey
Subject: Re: Problems with Attic permissions
Date: Mon, 14 Oct 2002 11:52:12 -0700 (PDT)

Hi

No,the files are not added to branch.
The 'Branch' is MAIN and the CVS tags shows HEAD.

It is the requirement of our project that no single
developer should remove files(even using cvs remove)
without consulting others involved and the PM; some of
them have removed files previously which caused a lot
of confusion.So this is the way we chose to enforce
it.
Now they will have to go thro' the cvs admin to remove
unwanted files.
We review the repository regularly so that any
unwanted files are usually removed before the
developers feel the need for it.

Thanks,
Anne

--- Noel Yap <address@hidden> wrote:
> --- Anne McCaffrey <address@hidden> wrote:
> > Hi all,
> > 
> > I am facing problems with Attic directories.
> > I have a script that disallows users from removing
> > files using cvs remove.
> > To implement additional security, I have made all
> > Attic directories in the repository read only,
> since
> > all users have login access to the repository
> server
> > and if they know to do it,they can remove a file
> > from
> > Attic manually;then we would loose the file
> > permanently.(It happened previously)I had no
> > problems
> > with this till now;but today when a developer
> tried
> > to
> > add a new file,cvs add was aborted with the
> > error,"Cannot read Attic directory.Permission
> > denied."
> > Only when I gave permissions to Attic in that
> > directory,cvs add succeeded.But there seem to be
> no
> > more incidents of this type in any other
> > directory.Can
> > anyone explain why CVS is trying to read from the
> > Attic when a new file is being added?I checked in
> > that
> > particular Attic; a file with that name is not
> > there;
> > also it is a new file name;it never existed
> > previously
> > in the repository.
> 
> It sounds like the file is being added on a branch. 
> CVS will put archives for new branch files into the
> Attic.  Is this what's happening in your situation?
> 
> Also, I think prevention of "cvs rm" is a bad idea
> since "removing" files is one of the tasks of a
> developer.  It would be better if you could prevent
> direct access to the repo (eg via SSH).
> 
> HTH,
> Noel
> 
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com




reply via email to

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