Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2015 12:38:30 +0200 (CEST)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        freebsd-hackers@freebsd.org
Subject:   unionfs/nullfs Help please
Message-ID:  <alpine.BSF.2.20.1505161233520.774@laptop.wojtek.intra>

next in thread | raw e-mail | index | archive | help
what i need:

i have a directory "/home/administration" with files belonging to group 
say "bosses". I've added say "john" and "bill" to group bosses. Now bosses can 
read and write in /home/administration.

Now i want mark, anne and tom to be able to read data from 
/home/administration but not write. Others should not be able to do 
access it at all.

So i created group "administration-read" and added mark,anne and tom to 
it.

Now i wanted using nullfs or unionfs to clone /home/administration to say 
/nullfs/administration-read so it will be read only (no problem) but gid 
of files would be changed to administration-read.

Tried multiple things, to no avail. Seems i don't really understand 
manuals ;)

Any help how to do it this way or other way (but no ACLs please)?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1505161233520.774>