[system] / trunk / webwork / system / system_webwork_setup.pl Repository:
ViewVC logotype

Diff of /trunk/webwork/system/system_webwork_setup.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 224 Revision 225
475 system "find $mainDir $mainDir/../system_html -type d -print0 | xargs -0 chmod 0775"; 475 system "find $mainDir $mainDir/../system_html -type d -print0 | xargs -0 chmod 0775";
476 system "find $mainDir $mainDir/../system_html -type f -print0 | xargs -0 chmod 0664"; 476 system "find $mainDir $mainDir/../system_html -type f -print0 | xargs -0 chmod 0664";
477 # add executable privs to scripts 477 # add executable privs to scripts
478 system "find ${mainDir}cgi ${mainDir}scripts -type f -print0 | xargs -0 chmod 0775"; 478 system "find ${mainDir}cgi ${mainDir}scripts -type f -print0 | xargs -0 chmod 0775";
479 } 479 }
480 # make the log files group writable
481 system "find $mainDir/logs -type f -print0 | xargs -0 chmod 0664";
480 # make the error_log file world writable 482 # make the error_log file world writable
481 system "find $mainDir/logs/error_log -print0 | xargs -0 chmod 0666"; 483 system "find $mainDir/logs/error_log -print0 | xargs -0 chmod 0666";
482 # make the access_log file group writable
483 system "find $mainDir/logs/access_log -print0 | xargs -0 chmod 0664";
484 484
485 print "done setting permissions.\n\n"; 485 print "done setting permissions.\n\n";
486} 486}
487 487
488#################### update couses stuff 488#################### update couses stuff

Legend:
Removed from v.224  
changed lines
  Added in v.225

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9