I need to control a bunch of files.

Yonatan Bokovza Yonatan at xpert.com
Sun Sep 7 06:49:19 PDT 2003


> -----Original Message-----
> From: Mark Terribile [mailto:materribile at yahoo.com]
> Sent: Friday, September 05, 2003 21:33
> To: freebsd-questions at freebsd.org
> Subject: Re: I need to control a bunch of files.
> 
> 
> 
> Vitali Malicky writes
> 
> > I need to control a bunch of files.
> > As soon as any of these files changes it should
> > be immediately rechecked and correct chmod and
> > chown reset on this file(s).
> 
> > I'd like them to be controlled by a process which
> > would monitor any possible changes in these files
> > and would do the job upon the event.
> 
> If it's a local file system, you may be able to
> do it with the kqueue(2)/kevent(2) mechanism.
> 

and check out ports/sysutils/wait_on.


More information about the freebsd-questions mailing list