| 1 | #!/usr/bin/perl |
1 | #!/usr/local/bin/webwork-perl |
| 2 | use strict; |
2 | use strict; |
| 3 | |
3 | |
| 4 | |
4 | |
| 5 | ################################################################################ |
5 | ################################################################################ |
| 6 | ## |
6 | ## |
| … | |
… | |
| 901 | chmod(0777, <html/tmp/l2h/*/*/*>) ; # html/tmp/l2h/ subdir - 775 |
901 | chmod(0777, <html/tmp/l2h/*/*/*>) ; # html/tmp/l2h/ subdir - 775 |
| 902 | chmod(0777, 'html/tmp/eps') || die "Can't set permissions correctly for html/tmp/eps directory. Fix the problem and run the setup script again. Stopped "; # html/tmp/l2h/ subdir - 775 |
902 | chmod(0777, 'html/tmp/eps') || die "Can't set permissions correctly for html/tmp/eps directory. Fix the problem and run the setup script again. Stopped "; # html/tmp/l2h/ subdir - 775 |
| 903 | chmod(0777, 'html/tmp/images') || die "Can't set permissions correctly for html/tmp/images directory. Fix the problem and run the setup script again. Stopped "; # html/tmp/l2h/ subdir - 775 |
903 | chmod(0777, 'html/tmp/images') || die "Can't set permissions correctly for html/tmp/images directory. Fix the problem and run the setup script again. Stopped "; # html/tmp/l2h/ subdir - 775 |
| 904 | chmod(0777, 'html/tmp/gif') || die "Can't set permissions correctly for html/tmp/gif directory. Fix the problem and run the setup script again. Stopped "; # html/tmp/l2h/ subdir - 775 |
904 | chmod(0777, 'html/tmp/gif') || die "Can't set permissions correctly for html/tmp/gif directory. Fix the problem and run the setup script again. Stopped "; # html/tmp/l2h/ subdir - 775 |
| 905 | chmod(0777, 'html/tmp/html') || die "Can't set permissions correctly for html/tmp/html directory. Fix the problem and run the setup script again. Stopped "; # html/tmp/l2h/ subdir - 775 |
905 | chmod(0777, 'html/tmp/html') || die "Can't set permissions correctly for html/tmp/html directory. Fix the problem and run the setup script again. Stopped "; # html/tmp/l2h/ subdir - 775 |
| 906 | chmod(0755, 'courseScripts') || die "Can't set permissions correctly for courseScripts directory. Fix the problem and run the setup script again. Stopped "; # courseScripts subdir - 750 |
906 | # chmod(0755, 'courseScripts') || die "Can't set permissions correctly for courseScripts directory. Fix the problem and run the setup script again. Stopped "; # courseScripts subdir - 750 |
| 907 | chmod(0755, <courseScripts/*>) ; |
907 | # chmod(0755, <courseScripts/*>) ; |
| 908 | chmod(0777, 'templates') || die "Can't set permissions correctly for templates directory. Fix the problem and run the setup script again. Stopped "; # templates subdir - 750 |
908 | chmod(0777, 'templates') || die "Can't set permissions correctly for templates directory. Fix the problem and run the setup script again. Stopped "; # templates subdir - 750 |
| 909 | chmod(0777, <templates/*>) ; # files and directories in templates - 777, there may be no files |
909 | chmod(0777, <templates/*>) ; # files and directories in templates - 777, there may be no files |
| 910 | chmod(0777, <templates/*/*>) ; # files and directories in templates - 777, there may be no files |
910 | chmod(0777, <templates/*/*>) ; # files and directories in templates - 777, there may be no files |
| 911 | chmod(0777, <templates/*/*/*>) ; # files and directories in templates - 777, there may be no files |
911 | chmod(0777, <templates/*/*/*>) ; # files and directories in templates - 777, there may be no files |
| 912 | chmod(0755, 'templates/macros') || die "Can't set permissions correctly for templates/macros directory. Fix the problem and run the setup script again. Stopped "; # templates/macros subdir - 750 |
912 | chmod(0755, 'templates/macros') || die "Can't set permissions correctly for templates/macros directory. Fix the problem and run the setup script again. Stopped "; # templates/macros subdir - 750 |