Server Environment Variables
The following variables are read when CVS is operating as the server (or when the repository is on the local system). They must be in the calling user’s environment on the server computer.
-
CVS_SERVER_SLEEP Used only when debugging the server in client/server mode. This variable delays the start of the server process by CVS_SERVER_SLEEP seconds to allow the debugger to be attached to it.
-
CVSUMASK Used to set the default permissions of files in the repository. This variable may be added to the client code in a later version of CVS .
-
PATH Used to locate any programs whose path is not compiled with the CVS program. This variable is still used, but it is less important now that the rcs, diff, and patch programs CVS uses are all distributed with CVS.
-
TMPDIR Sets the temporary directory CVS stores data in. This variable defaults to /tmp.
CVS creates temporary files with
mkstemp(BSD 4.3), if possible. Ifmkstempis not available when CVS is compiled, it triestempnam(SVID 3),mktemp(BSD 4.3), ortmpnam(POSIX), in that order. If it usestmpnam, it cannot use the TMPDIR environment variable and files are created in /tmp.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access