From: Sam H. <sh...@ma...> - 2006-01-13 20:41:41
|
On Jan 13, 2006, at 13:41, Arnold Pizer wrote: > Hi Sam, > > I tried to used course_admin to add a course and got the error: > > > An error occured while creating the course mth162: > Failed to create course directory /ww/htdocs/tmp/mth162: File exists > > I think it would be reasonable in adding a course to just give a > warning message if the tmp directory can not be created. In the > above case it's clear what's wrong and how to fix things but in > other cases (e.g. with sticky bits) it might not be. The downside > is that a course may be created without the tmp directory set up > correctly, but in the other case people may not be able to create a > course at all. Also the message should make it clear whether or > not a course has been created. Hi, I'll change addCourse and deleteCourse to warn about directory creation/deletion errors as with renameCourse. Thanks for testing this. -sam |