On Sat, Oct 21, 2006 at 09:59:39PM -0700, Andrew Lentvorski wrote:
>George Georgalis wrote:
>>>>N=/repo/student-n
>>>>svnadmin create $N
>>>>chown -R student-n:instructors $N
>>>>chmod -R ug+rwX,o-rwx $N
>>>Been there.  Tried that.  Doesn't work.
>>
>>me too, accept it worked for me.
>
>"student-n" cannot be part of group "instructors" or "student-0" can 
>look at the files of "student-1".

student-n doesn't need to be a member of group
instructors, because student-n owns the repo.
student-n should not be a member of instructors,
because that group is for access to repos of all
students in the class.

>The issue is that the source control has to block both writes *and* 
>reads between students.  This is unusual.

On Sat, Oct 21, 2006 at 10:10:54AM -0400, George Georgalis wrote:
>create a group for each set of instructors with write access to n student
>repositories.

so user-n has a default group of "users" or "user-n", whatever.

for each class create a group for instructor access, eg "cs-101"
there should only be as many members as there are instructors 
for that class.

each user gets his own repo. then apply the instructor group to
the repo and give it group read/write/execute-directories, other 0
perms.

now no student can access another repo, and instructors have
read/write for all students for which they are a member of the
class group.

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to