[MKDoc-commit] No need to make directories world-writable

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Thu Nov 25 15:03:46 GMT 2004


Log Message:
-----------
No need to make directories world-writable

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/tools:
        install-details-gt.pl

-------------- next part --------------
Index: install-details-gt.pl
===================================================================
RCS file: /var/spool/cvs/mkd/tools/install-details-gt.pl,v
retrieving revision 1.21.2.7
retrieving revision 1.21.2.8
diff -Ltools/install-details-gt.pl -Ltools/install-details-gt.pl -u -r1.21.2.7 -r1.21.2.8
--- tools/install-details-gt.pl
+++ tools/install-details-gt.pl
@@ -533,13 +533,6 @@
     make_dir ($::TEMP_DIR);
     make_dir ($::CACHE_DIR);
     
-    # this might be a bit dubious on a multi-user system... 
-    $::TEMP_DIR && chmod (0777, $::TEMP_DIR);
-    chmod (0777, $::CACHE_DIR);
-    chmod (0777, "$site_dir/data");
-    chmod (0777, "$site_dir/static/files");
-    chmod (0777, "$site_dir/static/images");
-
     # install mksetenv script
     open FP, ">$site_dir/mksetenv.sh" || do {
         warn "Cannot write-open '$site_dir/mksetenv.sh'";


More information about the MKDoc-commit mailing list