[MKDoc-commit] Set directory and file ownership to something more reasonable

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Thu Nov 25 14:54:45 GMT 2004


Log Message:
-----------
Set directory and file ownership to something more reasonable

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.6
retrieving revision 1.21.2.7
diff -Ltools/install-details-gt.pl -Ltools/install-details-gt.pl -u -r1.21.2.6 -r1.21.2.7
--- tools/install-details-gt.pl
+++ tools/install-details-gt.pl
@@ -555,6 +555,7 @@
     );
 
     close FP;
+    system ("chown $user_name:$user_name $site_dir/mksetenv.sh");
 }
 
 
@@ -564,6 +565,7 @@
     print "Creating $dir\n";
     -d $dir and return;
     mkdir $dir || die "Cannot create $dir!";
+    system ("chown $user_name:$user_name $dir");
 }
 
 


More information about the MKDoc-commit mailing list