[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [K12OSN] Hopefully the last permission question



Title: Message
think you'd be looking at a cron solution there?
something run'n every hour to automagically chown and chgrp?
 
--Huck
 
-----Original Message-----
From: k12osn-bounces redhat com [mailto:k12osn-bounces redhat com] On Behalf Of Jim Kronebusch
Sent: Thursday, April 29, 2004 9:26 AM
To: k12osn redhat com
Subject: [K12OSN] Hopefully the last permission question

Last problem I seem to be having is that when a student drops homework into /home/drop/teacher1/class1 folder which is owned by teacher1 and group teacher1 with Set Uid and Gid checked, the file the student drops is still owned by the student.  I would like the user and group set to teacher1.  The reason being that if the student still owns the file the teacher cannot delete it, and it messes with the students user quota.  Once in the drop folder it is the teachers responsibility to remove the file and no longer the students, so I believe these files should affect teacher quotas not the student.  So how do I set any file dropped in this folder to reset the owner and group to that of the enclosing folder?  I would like to not have a script option, but something via chmod or whatever is immediate.
 
Thanks

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]