[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 12 Revision 13
504 system "find . -type f -print0 | xargs -0 chmod 0664"; 504 system "find . -type f -print0 | xargs -0 chmod 0664";
505 # add executable privs to scripts 505 # add executable privs to scripts
506 system "find cgi scripts -type f -print0 | xargs -0 chmod 0775"; 506 system "find cgi scripts -type f -print0 | xargs -0 chmod 0775";
507 # give everyone write access to logs 507 # give everyone write access to logs
508 # (we should probably just be chowning the log directory to the webserver) 508 # (we should probably just be chowning the log directory to the webserver)
509 system "chmod 0666 logs/*"; 509 system "find logs -type f -print0 | xargs -0 chmod 0666";
510 # make this script executable and safe 510 # make this script executable and safe
511 system "chmod 0770 system_webwork_setup.pl" 511 system "chmod 0770 system_webwork_setup.pl"
512 } 512 }
513 print "done setting permissions.\n\n"; 513 print "done setting permissions.\n\n";
514} 514}

Legend:
Removed from v.12  
changed lines
  Added in v.13

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9