I need to control a bunch of files.

Mark Terribile materribile at yahoo.com
Fri Sep 5 11:33:11 PDT 2003


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.


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


More information about the freebsd-questions mailing list