[K12OSN] Permissions Question

Jim Hays haysja at sages.us
Wed Apr 7 19:28:04 UTC 2004


Thanks, Paul. 

I have already set the SGID for the directories and recursively changed 
the group.  I guess I can now delete the cron job.

Thanks.


Paul Davison wrote:

> Hi Jim,
>
> As Roger earlier reccomended, if you recursively set the SGID (set 
> group ID) bit for the /home/ directory tree as follows;
>
>    chmod -R g+s /home
>
> and then recursively set the group ownership to the teachers group;
>
>    chgrp -R teachers /home
>
> there would no longer be a need for a cron job, all new files created 
> in those directories would have the group set to teachers. I believe 
> that would be the standard way for setting up this type of sharing 
> arrangement.
>
> Your solution works as well, there is just a one day time delay.
>
> For your consideration.
>
> Paul
>
>
> Jim Hays wrote:
>
>>> coojo08:coojo08 and I want it owned by coojo08:teachers.  The chgrp 
>>> that 
>>
>> I put in cron.daily will change the permission each night - meaning 
>> that a teacher will have access to all files created yesterday or 
>> earlier.
>>
>
>
> _______________________________________________
> 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