/usr/share/doc/cssc/cssc.html/Filenames.html is in cssc 1.4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!--
This file documents the GNU cssc package for working with
SCCS files.
Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the section entitled "GNU
Free Documentation License". -->
<!-- Created by GNU Texinfo 6.0, http://www.gnu.org/software/texinfo/ -->
<head>
<title>CSSC: Compatibly Stupid Source Control: Filenames</title>
<meta name="description" content="CSSC: Compatibly Stupid Source Control: Filenames">
<meta name="keywords" content="CSSC: Compatibly Stupid Source Control: Filenames">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
<link href="Concept-Index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="index.html#Top" rel="up" title="Top">
<link href="File-Format.html#File-Format" rel="next" title="File Format">
<link href="what.html#what" rel="prev" title="what">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nocodebreak {white-space: nowrap}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: serif; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<a name="Filenames"></a>
<div class="header">
<p>
Next: <a href="File-Format.html#File-Format" accesskey="n" rel="next">File Format</a>, Previous: <a href="Invoking-CSSC-Programs.html#Invoking-CSSC-Programs" accesskey="p" rel="prev">Invoking CSSC Programs</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> [<a href="Concept-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="Filenames-1"></a>
<h2 class="chapter">4 Filenames</h2>
<p>Temporary files are used during normal operation of <small>CSSC</small> (and
<small>SCCS</small>). Many of these are given fixed names. The prefixes for the
various files used by <small>CSSC</small> are listed in the table below.
</p>
<dl compact="compact">
<dt>‘<samp>s.</samp>’</dt>
<dd><p>The history file itself.
</p></dd>
<dt>‘<samp>l.</samp>’</dt>
<dd><p>The delta summary file created by <code>get -l</code>. Unlike the other
files in this table, the l-file is created in the current directory.
</p></dd>
<dt>‘<samp>p.</samp>’</dt>
<dd><p>The file containing the list of edit locks.
</p></dd>
<dt>‘<samp>z.</samp>’</dt>
<dd><p>The lock file used to arbitrate access to the history file. The running
<small>CSSC</small> (or <small>SCCS</small>) program puts its PID into this file. Some
versions of <small>SCCS</small> (but <em>not</em> <small>CSSC</small>) will break the lock
after 60 seconds if the specified PID is not running on the local
machine. In order to work more reliably over networked file systems,
<small>CSSC</small> will not do this; stale lock files would have to be removed
manually.
</p></dd>
<dt>‘<samp>x.</samp>’</dt>
<dd><p>Temporary file into which is written the new s-file. Once processing is
complete, the old s-file is replaced by the x-file.
</p></dd>
<dt>‘<samp>q.</samp>’</dt>
<dd><p>Temporary file into which is written the new p-file
</p></dd>
<dt>‘<samp>d.</samp>’</dt>
<dd><p>Temporary file used by delta; contains the gotten body of the previous
version (which we run diff against). This filename is used by <small>SCCS</small>
in the same situation, but according to the <small>SCCS</small> manual pages, it
puts the output of <code>diff</code> in this file instead.
</p></dd>
<dt>‘<samp>u.</samp>’</dt>
<dd><p>Encoded version of the gotten file; created by delta.
</p></dd>
</dl>
<p>Except for the l-file, all of the temporary files in the above table
are created in the same directory as the s-file. The l-file is
created in the current working directory.
</p>
<p>Since these filenames are always fixed, it is important that the
permissions on the directory containing the <small>SCCS</small> file be secure;
otherwise you have a security vulnerability where a malicious user can
cause you to accidentally over-write files you own or have access to,
but they do not. If you are the super-user, they can use this feature
to overwrite any file on the system.
</p>
<hr>
<div class="header">
<p>
Next: <a href="File-Format.html#File-Format" accesskey="n" rel="next">File Format</a>, Previous: <a href="Invoking-CSSC-Programs.html#Invoking-CSSC-Programs" accesskey="p" rel="prev">Invoking CSSC Programs</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> [<a href="Concept-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>
|