[K12OSN] Homework DropBox Idea

Robert Arkiletian robark at gmail.com
Mon Jul 25 06:03:19 UTC 2005


On 7/24/05, Liam Marshall <lsrpm-1 at shaw.ca> wrote:
> I am thinking, if the rights can be set like I want, that users can drag
> their completed assignments into the appropriate homework "dropbox" and
> they are done, and can't cheat off of, or trash, other classmate's files
> 

This is what I do.

I create a dir in home then I chgrp the dir file to be the group of
the class in  question.

Then chmod the dir file to give the group write only access with
others having no access. This can be achieved by the following

chmod 730 "name of dir"

7 owner (root or you) has full access
3=2(write)+1(execute on a dir is list) for group which you set with chgrp
0 others have no access

The only drawback is that students have more than write once
privilage. So they can write multiple files or over write their own
files but cannot play with another students stuff. Once the assignment
is due. I just change the 3  to a 0 so they cannot continue to hand
stuff in late. Anyway there is a time stamp. Plus I get students to
hand stuff in with their username as the name of the file. That way if
the filename does not match the owner of the file I know there is
cheating going on.

-- 
Robert Arkiletian
C++ GUI tutorial http://fltk.org/links.php?V19




More information about the K12OSN mailing list