permissions on OPTIONS directories

Joe Marcus Clarke marcus at freebsd.org
Fri Jul 23 17:11:22 EDT 2010


On 7/23/10 4:21 PM, Alberto Villa wrote:
> On Friday 23 July 2010 20:47:41 Alberto Villa wrote:
>> ktrace didn't help me a lot, anyway i've monitored the process:
>> 1. /space/options/${build} is mounted via nfs
>> 2. suddenly, /space/${build}/var/db/ports gets the right owner
>> (avilla:fbsdusers)
>> 3. about five seconds later, it is reset to root:wheel (and
>> /space/options/${build} with it)
> 
> ok, i found only two places where chown happens on 
> /space/${build}/var/db/ports: bsdtar (when the jail is extracted) and 
> mtree (run by the ports framework?). i'll just use a tinderbox hook, but if 
> you want to go deeper and need further help from me, just ask

Ah, mtree.  I think the Hook might be the way to go here as I'm not sure
how specialized this requirement is.  I don't think it necessarily needs
to be generalized.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


More information about the tinderbox-list mailing list