[K12OSN] Permissions Question

Huck dhuckaby at paasda.org
Wed Apr 7 16:33:08 UTC 2004


Chgrp teachers *.*

Is the command...
Can put in a cron to automatically do it everyday at 3pm...etc..
Or do it manually...
Could make a script for the teachers to run each time they check files
as well..

--Huck


-----Original Message-----
From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On
Behalf Of Jim Hays
Sent: Wednesday, April 07, 2004 9:10 AM
To: button at gti.net; Support list for opensource software in schools.
Subject: [K12OSN] Permissions Question


I am almost embarrassed to ask this question, but since I have never met

any of you face-to-face, I guess I can ask a "dumb" question.

Scenario: (K12LTSP server as a file server for the school. Term Server 
is a different box.)  Middle School.  Student Home Folders in /home 
partition.  Folders in subdirectories by graduation year.  For example, 
a student named Joe Cool in the class of 2008 has a folder 
/home/students/2008/coojo08.  His username is coojo08.  Folders are 
owned by the student and the group for the folders is teachers. 

The problem:  When a student creates a file in his/her folder, the files

is "owned" by the student as owner and by the student as group.  I need 
to have the group for these files be teachers. 

What do I do to make it so that files created by students in their 
folders are accessible to teachers who are in the teachers group? 

Here is what a file looks like now:

-rw-rw-r--    1 woobr08  woobr08     21504 Apr  7 10:13 Stocks.xls

I need it to be

-rw-rw-r--    1 woobr08  teachers      21504 Apr  7 10:13 Stocks.xls

TIA for any advice.



_______________________________________________
K12OSN mailing list
K12OSN at redhat.com https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>





More information about the K12OSN mailing list