[LON-CAPA-cvs] cvs: doc /loncapafiles loncapafiles.lpml

harris41 lon-capa-cvs@mail.lon-capa.org
Sun, 13 Oct 2002 17:30:04 -0000


This is a MIME encoded message

--harris411034530204
Content-Type: text/plain

harris41		Sun Oct 13 13:30:04 2002 EDT

  Modified files:              
    /doc/loncapafiles	loncapafiles.lpml 
  Log:
  adding protection levels to all the directories; so far all directories
  are 'never_delete' or 'modest_delete' except for the home/httpd/lib/perl
  directory which is 'weak_delete' in order to preserve localauth.pm
  (I am still pondering a perfect solution for deletion protection at
   a level other than directory-level)
  
  
--harris411034530204
Content-Type: text/plain
Content-Disposition: attachment; filename="harris41-20021013133004.txt"

Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.178 doc/loncapafiles/loncapafiles.lpml:1.179
--- doc/loncapafiles/loncapafiles.lpml:1.178	Fri Oct  4 16:34:04 2002
+++ doc/loncapafiles/loncapafiles.lpml	Sun Oct 13 13:30:04 2002
@@ -3,7 +3,7 @@
 <!-- loncapafiles.lpml -->
 <!-- Scott Harrison -->
 
-<!-- $Id: loncapafiles.lpml,v 1.178 2002/10/04 20:34:04 bowersj2 Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.179 2002/10/13 17:30:04 harris41 Exp $ -->
 
 <!--
 
@@ -221,97 +221,114 @@
 </rpm>
 <directories>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc</targetdir>
   <categoryname>standard</categoryname>
   <description>standard linux directory for configuration files</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/cron.d</targetdir>
   <categoryname>standard</categoryname>
   <description>standard linux directory for running time-based "jobs"
   </description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/httpd/conf</targetdir>
   <categoryname>standard</categoryname>
   <description>web configuration files</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/pam.d</targetdir>
   <categoryname>standard</categoryname>
   <description>configuration directory for password authentication mechanism
   </description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/rc.d/init.d</targetdir>
   <targetdir dist='debian'>etc/init.d</targetdir>
   <categoryname>standard</categoryname>
   <description>scripts that run during system startup</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/rc.d/rc0.d</targetdir>
   <targetdir dist='debian'>etc/rc0.d</targetdir>
   <categoryname>standard</categoryname>
   <description>scripts that run for run-level 0</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/rc.d/rc1.d</targetdir>
   <targetdir dist='debian'>etc/rc1.d</targetdir>
   <categoryname>standard</categoryname>
   <description>scripts that run for run-level 1</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/rc.d/rc2.d</targetdir>
   <targetdir dist='debian'>etc/rc2.d</targetdir>
   <categoryname>standard</categoryname>
   <description>scripts that run for run-level 2</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/rc.d/rc3.d</targetdir>
   <targetdir dist='debian'>etc/rc3.d</targetdir>
   <categoryname>standard</categoryname>
   <description>scripts that run for run-level 3</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/rc.d/rc4.d</targetdir>
   <targetdir dist='debian'>etc/rc4.d</targetdir>
   <categoryname>standard</categoryname>
   <description>scripts that run for run-level 4</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/rc.d/rc5.d</targetdir>
   <targetdir dist='debian'>etc/rc5.d</targetdir>
   <categoryname>standard</categoryname>
   <description>scripts that run for run-level 5</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>etc/rc.d/rc6.d</targetdir>
   <targetdir dist='debian'>etc/rc6.d</targetdir>
   <categoryname>standard</categoryname>
   <description>scripts that run for run-level 6</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/lonTabs</targetdir>
   <categoryname>standard</categoryname>
   <description>tab-formatted reference files</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>home/httpd</targetdir>
   <categoryname>standard</categoryname>
   <description>start of the web server tree</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/perl</targetdir>
   <categoryname>server readonly</categoryname>
   <description>perl scripts for managing the LON-CAPA system</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/perl/logs</targetdir>
   <categoryname>server standard</categoryname>
   <description>location where system performance and error logs are kept
   </description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/lon-status/londchld</targetdir>
   <categoryname>server standard</categoryname>
   <description>
@@ -320,122 +337,146 @@
   </description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/perl/tmp</targetdir>
   <categoryname>server standard</categoryname>
   <description>location where temporary files (for caching) are stored
   </description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/prtspool</targetdir>
   <categoryname>server standard</categoryname>
   <description>for the output of lonprintout.pm
   </description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/lib</targetdir>
   <categoryname>server readonly</categoryname>
   <description>location of LON-CAPA software modules and
 extensions</description>
 </directory>
 <directory dist='default'>
+  <!-- Must protect localauth.pm from extinction. -->
+  <protectionlevel>weak_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/lib/perl</targetdir>
   <categoryname>server readonly</categoryname>
   <description>location of LON-CAPA non web mod-perl handlers</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/lib/perl/Apache</targetdir>
   <categoryname>server readonly</categoryname>
   <description>location of LON-CAPA web mod-perl handlers</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/lib/perl/HTML</targetdir>
   <categoryname>server readonly</categoryname>
   <description>location of HTML specific perl module fixes and additions
   </description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/lib/perl/LONCAPA</targetdir>
   <categoryname>server readonly</categoryname>
   <description>location of HTML specific perl module fixes and additions
   </description>
 </directory>
 <directory dist='default'>
-  <targetdir dist='default'>home/httpd/lonIDs</targetdir>
+   <protectionlevel>modest_delete</protectionlevel>
+ <targetdir dist='default'>home/httpd/lonIDs</targetdir>
   <categoryname>server standard</categoryname>
   <description>cookie jar</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/sockets</targetdir>
   <categoryname>server standard</categoryname>
   <description>lonc's sockets</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/sockets/delayed</targetdir>
   <categoryname>server standard</categoryname>
   <description>lonc's sockets (delayed)</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/cgi-bin</targetdir>
   <categoryname>standard</categoryname>
   <description>location of cgi scripts</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html</targetdir>
   <categoryname>server standard</categoryname>
   <description>location of web-accessible file tree</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/res</targetdir>
   <categoryname>server standard</categoryname>
   <description>root of resource tree</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/userfiles</targetdir>
   <categoryname>server standard</categoryname>
   <description>root for user uploaded files</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm</targetdir>
   <categoryname>server readonly</categoryname>
   <description>unauthenticated resources</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/rat</targetdir>
   <categoryname>server readonly</categoryname>
   <description>home of the rat</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/help</targetdir>
   <categoryname>server readonly</categoryname>
   <description>online help documentation</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/help/gif</targetdir>
   <categoryname>server readonly</categoryname>
   <description>online help documentation gif files</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/help/eps</targetdir>
   <categoryname>server readonly</categoryname>
   <description>online help documentation eps files</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/help/tex</targetdir>
   <categoryname>server readonly</categoryname>
   <description>online help documentation tex files</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/help/png</targetdir>
   <categoryname>server readonly</categoryname>
   <description>online help documentation png files</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/help/lib/perl</targetdir>
   <categoryname>server readonly</categoryname>
   <description>online help documentation for the LON-CAPA programming
 interface</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/help/lib/perl/Apache
   </targetdir>
   <categoryname>server readonly</categoryname>
@@ -443,27 +484,32 @@
 interface, Apache (mod_perl) handlers</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/help/scripts</targetdir>
   <categoryname>server readonly</categoryname>
   <description>online help documentation for the LON-CAPA programming
 interface, Apache (mod_perl) handlers</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/lonIcons</targetdir>
   <categoryname>server readonly</categoryname>
   <description>graphic widgets</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/lonMisc</targetdir>
   <categoryname>server readonly</categoryname>
   <description>miscellaneous resources</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/lonKaputt</targetdir>
   <categoryname>server readonly</categoryname>
   <description>error warnings and icons</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/lonUsers</targetdir>
   <categoryname>server standard</categoryname>
   <description>Home directories of local users.  There is a five-tier
@@ -479,72 +525,85 @@
 LON-CAPA system.</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/MathML</targetdir>
   <categoryname>server readonly</categoryname>
   <description>mathematics markup language resources</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/res/adm/includes</targetdir>
   <categoryname>server readonly</categoryname>
   <description>files useful for including within customized scripting
   </description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/res/adm/includes/templates
   </targetdir>
   <categoryname>server readonly</categoryname>
   <description>template files useful for customized scripts</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/lon-status</targetdir>
   <categoryname>server standard</categoryname>
   <description>status reports; online logs are kept that
 are viewable over the world-wide web</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/res/adm/pages</targetdir>
   <categoryname>server readonly</categoryname>
   <description>web user interface resources</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/lonLCDfont</targetdir>
   <categoryname>server readonly</categoryname>
   <description>LCD font for remote control</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/lonDomLogos</targetdir>
   <categoryname>server readonly</categoryname>
   <description>Logos for LON-CAPA domains</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/lonTabs/lonDomColors</targetdir>
   <categoryname>server readonly</categoryname>
   <description>Designs for LON-CAPA domains</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/adm/lonInterFace</targetdir>
   <categoryname>server readonly</categoryname>
   <description>Page headers and graphical interface files</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/res/adm/pages/bookmarkmenu
   </targetdir>
   <categoryname>server readonly</categoryname>
   <description>bookmark user interface code</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/res/adm/pages/annotations
   </targetdir>
   <categoryname>server readonly</categoryname>
   <description></description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>home/httpd/html/res/adm/pages/indexericons
   </targetdir>
   <categoryname>server readonly</categoryname>
   <description>icons that help depict the file system (outdated)</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>usr/lib/perl5/site_perl/5.005</targetdir>
   <targetdir dist='redhat7 redhat7.1'>usr/lib/perl5/site_perl/5.6.0</targetdir>
   <targetdir dist='debian'>usr/local/lib/perl/5.6.0</targetdir>
@@ -553,37 +612,44 @@
   </description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>usr/local/loncapa/bin</targetdir>
   <categoryname>standard</categoryname>
   <description>local binary files for loncapa</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>usr/local/loncapa/doc</targetdir>
   <categoryname>standard</categoryname>
   <description>local documentation files for loncapa</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>modest_delete</protectionlevel>
   <targetdir dist='default'>usr/local/loncapa/doc/conf_examples</targetdir>
   <categoryname>standard</categoryname>
   <description>examples of configuration files for secondary
  services</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>usr/local/man/man1</targetdir>
   <categoryname>standard</categoryname>
   <description>local manual pages</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>usr/man/man1</targetdir>
   <categoryname>standard</categoryname>
   <description>manual pages</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>usr/man/man3</targetdir>
   <categoryname>standard</categoryname>
   <description>manual pages</description>
 </directory>
 <directory dist='default'>
+  <protectionlevel>never_delete</protectionlevel>
   <targetdir dist='default'>usr/sbin</targetdir>
   <categoryname>standard</categoryname>
   <description>standard linux directory for superuser executables</description>

--harris411034530204--