[K12OSN] Student problem

Les Mikesell les at futuresource.com
Wed Apr 28 19:06:12 UTC 2004

On Wed, 2004-04-28 at 13:25, Burke Almquist wrote:
> Look into hard links.
> Using hard links the same folder can be owned by different people and 
> groups.  Since each hard link can have different ownership.  What the 
> means is that teachers read them from the teachers folder, but 
> students, or whomever, drop them in a folder with another name and 
> different permissions.

That can't work.  Hard links are just different names (directory
entries) for the same inode.  The inode contains the owner, group,
and permission info as well as the pointers to the data blocks so
all hard links must have identical permissions.

You can do some tricky things by nesting directories with
different groups/group permissions but I'm not sure that
would work here.

  Les Mikesell
   les at futuresource.com

More information about the K12OSN mailing list