info-cvs
[Top][All Lists]
Advanced

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

Re: set 1 file in repository to be read only


From: Mark D. Baushke
Subject: Re: set 1 file in repository to be read only
Date: Fri, 06 Jun 2003 13:02:41 -0700

Tumy, Brad <address@hidden> writes:

> This question is more for a sanity check then anything else.
> 
> If I want one specific file in the repository to be read-only (to all
> developers) then I just set the permissions on that file (through OS
> [Solaris]) to be read-only ...correct? 

No.
 
> We are developing a web-application in Cold Fusion and I want to lock down
> the top Application.cfm file so that developers can check it out and include
> it in their working directory but not be able to commit it back to the
> repository.

Use the commitinfo hook and have it know that particular file should
never be allowed to be committed by normal developers. See the URL:
http://www.cvshome.org/docs/manual/cvs-1.12.1/cvs_18.html#SEC167 for
more information.

        -- Mark




reply via email to

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