Actually, nothing if the kid knows how to use a terminal session.   If the kids know how to use terminal sessions, then they could also just share files directly from each others accounts though and bypass of this unless you lock the top level accounts so that they can't change their own directories permissions.  Not sure how to do that.
<br><br>Now, once the file is dropped, the directory permissions don't allow them to list the dropbox directory contents.  The files get the permissions specified, but the directory is set so that they can't see the contents.  'course now I need to go back and re-evaluate how I did this.  The tech teacher wasn't too concerned about possible issues since if cheating occurs, there are ways to address such issues and use it as another opportunity to teach values.  I also have a cron job that runs every 5 minutes to change the permissions just in case as well. 
<br><br>As for manually running scripts, the tech teacher doesn't want to deal with anything that has syntax.  Double-click, drag-drop, right-click are all good.  Opening a terminal session and running a command is not on the list of good things.
<br><br>Long term (next year), I will find a better solution but right now this works well enough.<br><br>Sincerely,<br>Dave Hopkins<br><br><br><div><span class="gmail_quote">On 3/5/07, <b class="gmail_sendername">Robert Arkiletian
</b> <<a href="mailto:robark@gmail.com">robark@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 3/5/07, David Hopkins <
<a href="mailto:dahopkins429@gmail.com">dahopkins429@gmail.com</a>> wrote:<br>> It is about as basic as you can get.  I created a script called<br>> copy_files_to_dropbox and put it /usr/sbin with a+x permissions.
<br>><br>> The launcher executes the script passing the filename to the script.  Then,<br>> neglecting the code for popping up the confirmation window, the script<br>> presently is just<br>><br>> chmod 755 $1
<br>> cp $1 /Dropbox_directory/.<br>><br><br>I thought about this but what's to stop a kid from just copying it<br>him/herself without chmoding it. Also,  shouldn't your chmod be 750<br>since you don't want others to be able to read and thus copy it out of
<br>Dropbox_directory?<br>And what about /temp where everyone has read/write access?<br><br>The reason I am being so anal about the security is because I give my<br>classes programming tests and I don't want them being able to copy
<br>anothers solution. After having a chat with a friend about this,  I<br>think the best solution may be to simply ask the kids to save their<br>solution as their username.py in their own home dir. Then I write a<br>script that I run as root at the end of class to collect the
<br>solutions.<br>Concerning /temp: will anything bad happen if I temporarily (during<br>the exam) disable writing or reading to /temp?<br><br>--<br>Robert Arkiletian<br>Eric Hamber Secondary, Vancouver, Canada<br>Fl_TeacherTool 
<a href="http://www3.telus.net/public/robark/Fl_TeacherTool/">http://www3.telus.net/public/robark/Fl_TeacherTool/</a><br>C++ GUI tutorial <a href="http://www3.telus.net/public/robark/">http://www3.telus.net/public/robark/
</a><br><br>_______________________________________________<br>K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn
</a><br>For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br></blockquote></div><br>