httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Dean Gaudet)
Subject Re: CVS stuff
Date Tue, 27 Feb 1996 06:02:08 GMT
In article <> 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
    umask 2
    exec /usr/local/bin/cvs.real ${1+"$@"}
    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.


View raw message