httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hotwired.com (Dean Gaudet)
Subject Re: CVS stuff
Date Tue, 27 Feb 1996 06:02:08 GMT
In article <Pine.HPP.3.91.960225200126.27439A-100000@ace.nueva.pvt.k12.ca.us> you write:
>I just tried to update my copy of the CVS version of Apache, and noticed
>that several of the files are mode 400. This makes them sort of hard to
>read. These seem to be the new files added in Apache 1.1b0, mod_proxy.c,
>mod_cern_meta.c, the new icons, and so forth. Unless I'm quite mistaken,
>shouldn't these be made mode 444?

An easy way to deal with this is to do this:

    cd /usr/local/bin
    mv cvs{,.real}
    cat >cvs
    #!/bin/sh
    umask 2
    exec /usr/local/bin/cvs.real ${1+"$@"}
    ^D
    chmod 555 cvs

That forces cvs to use a specific umask and not be at the whims of the
people using it.

Oh wait, I think CVS 1.7 has this feature built in somewhere.  Anyhow I've
just used the above in the past.

Dean

Mime
View raw message