Programatic Permissions?

Jun 8, 2007 at 7:59 PM
I know that this isn't really a SLK issue, but does anyone know how to progrmaticly set permissions on a list item in a few hundred subsites?
We have created a drop box type area with a custom list that allows users to hand in files to the teachers. The only issues is that we need to set teacher to change one set of permissions and students another on this list only, not the whole subsite, and we can't find a way to use stsadm to do this.
Does anyone have any ideas or resources they can point us to that would help us get these permissions set without having to touch each subsite by hand?
Thanks for all your help.