--- Anne McCaffrey <[EMAIL PROTECTED]> 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


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to