savannah-hackers
[Top][All Lists]
Advanced

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

Re: [Savannah-hackers] changing file permissions in CVS


From: Sylvain Beucler
Subject: Re: [Savannah-hackers] changing file permissions in CVS
Date: Thu, 16 Dec 2004 17:52:54 +0100
User-agent: Mutt/1.4.2.1i

> > > How can I change a file permission in the CVS?  More specifically,
> > > I've checked in a file with the executable bit set, which I would
> > > like to remove (in groff's CVS, the file
> > > `contrib/gdiffmk/tests/tests.sh).  Ideally, I would like to have a
> > > web form for that to avoid bothering you...
> > 
> > The cederqvist states that: "CVS also ignores file permissions and
> > ownerships, leaving such issues to be resolved by the developer at
> > installation time." (node "Special Files").
> 
> I know that, but it doesn't reflect the reality, at least not for
> GNU/Linux -- the Unix CVS *does* honour file permissions while
> checking out files from a repository the first time; it sets the
> executable bit for files which have them set in the CVS too, AFAIK.
> 
> > So in principle we should not change file permissions, and set our
> > autotools configuration files accordingly instead.
> 
> I like the current CVS behaviour.  The only problem is that I can't
> access it automatically...

So, if I'm right, you would like to be able to work with permissions
using CVS, except that CVS is not planned to manage permissions, and
do not do so properly. Besides, we're relying on a 'feature' of CVS.

I think the only answer I can give you is to bug the CVS people to
define a consistent behavior (and the associate cvs commands) :/

Meanwhile, I can reset all the files permissions (444) in your
repository if needed.

-- 
Sylvain




reply via email to

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