| … | |
… | |
| 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 | } |