Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000384.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml" />
11
12    <title>Status for Andrew DeFaria: DOORS/LOS178 Build Procedure</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/000387.html" title="CVS Adm Web App" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000388.html" title="CVS Adm Web App - per repository" />
17
18    
19
20    
21
22    <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
23 </head>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
25    <div id="container">
26       <div id="container-inner" class="pkg">
27
28          <div id="banner">
29             <div id="banner-inner" class="pkg">
30                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
31                <h2 id="banner-description">Searchable status reports and work log</h2>
32             </div>
33          </div>
34
35          <div id="pagebody">
36             <div id="pagebody-inner" class="pkg">
37                <div id="alpha">
38                   <div id="alpha-inner" class="pkg">
39
40                      <p class="content-nav">
41                         <a href="http://defaria.com/blogs/Status/archives/000387.html">&laquo; CVS Adm Web App</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000388.html">CVS Adm Web App - per repository &raquo;</a>
44                      </p>
45
46                      <a id="a000384"></a>
47                      <div class="entry" id="entry-384">
48                         <h3 class="entry-header">DOORS/LOS178 Build Procedure</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <ul>
52   <li>Managed to install DOORS. Turns out that using Tomcat for FlexLM requires port 19360 <b>not</b> port 19353</li>
53
54   <li>Exported the HybridOS Build Procedure document to create the LOS178 2.1.0 Build Procedure document</li>
55
56   <li>Attempting to document exactly what CVS access is given for a username in the readers/writers files depending on whether or not either file exists for the CVSAdm web app</li>
57 </ul>
58                            </div>
59                            <div id="more" class="entry-more">
60                               <h3>Determining CVS Read/Write Access</h3>
61
62 <p>CVS decides read/write access based on the presence of the user name in the files readers and writers in the repository. Additionally either or both of these files may be missing.</p>
63
64 <p>The CVS Manual says:</p>
65
66 <blockquote><i>
67 <p>If <tt>readers</tt> exists, and this user is listed in it, then the user gets read-only access. Or if <tt>writers</tt> exists, and this user is <b>not</b> listed in it, then they also get read-only access (this is true even if <tt>readers</tt> exists but they are not listed there). Otherwise, she gets full read-write access.</p>
68
69 <p>Of course there is a conflict if the user is listed in both files. This is resolved in the more conservative way, it being   better to protect the repository too much than too little: such a user gets read-only access.</p>
70 </i></blockquote>
71
72 <p>Based on that the following describe the access granted to a user.</p>
73
74 <center>
75 <table border=1 cellspacing=0 cellpadding=2>
76   <tbody>
77     <tr>
78       <th bgcolor="teal"><font color="white">Case</font></th>
79       <th bgcolor="teal"><font color="white">Readers</font></th>
80       <th bgcolor="teal"><font color="white">Writers</font></th>
81       <th bgcolor="teal"><font color="white">Read Access</font></th>
82       <th bgcolor="teal"><font color="white">Write Access</font></th>    </tr>
83     <tr align="center">
84       <td>1</td>
85       <td>No File</td>
86       <td>No File</td>
87       <td>No</td>
88       <td>No</td>
89     </tr>
90     <tr align="center">
91       <td>2</td>
92       <td>No File</td>
93       <td>Not Present</td>
94       <td>Yes</td>
95       <td>No</td>
96     </tr>
97     <tr align="center">
98       <td>3</td>
99       <td>No File</td>
100       <td>Present</td>
101       <td>Yes</td>
102       <td>Yes</td>
103     </tr>
104     <tr align="center">
105       <td>4</td>
106       <td>Not Present</td>
107       <td>No File</td>
108       <td>No</td>
109       <td>No</td>
110     </tr>
111     <tr align="center">
112       <td>5</td>
113       <td>Not Present</td>
114       <td>Not Present</td>
115       <td>Yes</td>
116       <td>No</td>
117     </tr>
118     <tr align="center">
119       <td>6</td>
120       <td>Not Present</td>
121       <td>Present</td>
122       <td>Yes</td>
123       <td>Yes</td>
124     </tr>
125     <tr align="center">
126       <td>7</td>
127       <td>Present</td>
128       <td>No File</td>
129       <td>Yes</td>
130       <td>No</td>
131     </tr>
132     <tr align="center">
133       <td>8</td>
134       <td>Present</td>
135       <td>Not Present</td>
136       <td>Yes</td>
137       <td>No</td>
138     </tr>
139     <tr align="center">
140       <td>9</td>
141       <td>Present</td>
142       <td>Present</td>
143       <td>Yes</td>
144       <td>No</td>
145     </tr>
146   </tbody>
147 </table>
148 </center>
149
150 <ol>
151   <li>A strict intepretation of the CVS manual might lead you to
152 believe that since readers does not exist and writers does not exist then it would fall into the "Otherwise" statement at the end of the first paragraph. However an argument can be made that the user is also not listed in the writers file because the writers file is not present. But I believe that no access should be granted.</li>
153
154   <li>Readers does not exist and the user is not listed in writers
155 so read only access.</li>
156
157   <li>Readers does not exist but the user is listed in writers. So
158 the user has write access. Does this imply read access? Does write-only access exist?</li>
159
160   <li>User is not listed in the readers file and there is no writers
161 file. This case is not covered by the CVS manual. My assumption is therefore no access. Again a strict interpretation might argue the "Otherwise" clause but I think not.</li>
162
163   <li>User is not listed in the readers file nor in the writers file
164 therefore read only access.</li>
165
166   <li>User is not listed in the readers file but is listed in the
167 writers file. User gets read/write access.</li>
168
169   <li>User is listed in the readers file but there is no writers
170 file. Read only access.</li>
171
172   <li>User is listed in the readers file but not present in writers
173 file. Read only access.</li>
174
175   <li>User is listed in the readers file and the writers file. This
176 is the conflict. Resolve the conflict by only providing read access.</li>
177 </ol>
178                            </div>
179                         </div>
180                         <p class="entry-footer">
181                            <span class="post-footers">Posted by  on July 14, 2005  5:13 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000384.html">Permalink</a>
182                         </p>
183                      </div>
184
185                      
186
187                      
188                   </div>
189                </div>
190             </div>
191          </div>
192       </div>
193    </div>
194 </body>
195 </html>