[Top][All Lists]

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

Re: Strange permissions of files in cvs repository

From: Larry Jones
Subject: Re: Strange permissions of files in cvs repository
Date: Thu, 4 Oct 2007 11:20:26 -0400 (EDT)

Eric Meijer writes:
> I have a cvs repository (version 1.12.13) on my debian linux box, since 
> quite a while.  At some point, files got strange permissions.  Certain 
> source files (C++ .cc and .h files) have executable bits or sticky bits 
> set, while others don't:
> Do those permissions 
> mean anything to the repository?

Only sort-of: CVS sets the execute bits on a newly-created repository
file from the working file and copies the execute bits from the
repository file to the working file on checkout.

> Can I just do
> find . -type f -exec chmod 444 \{\} \;
> on the repository and be done with it?

As long as you don't have any files in the repository that really should
be marked executable, that's fine.

-Larry Jones

They say winning isn't everything, and I've decided
to take their word for it. -- Calvin

reply via email to

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