Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 11:33:11 -0700 (PDT)
From:      Mark Terribile <materribile@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: I need to control a bunch of files.
Message-ID:  <20030905183311.25912.qmail@web21105.mail.yahoo.com>
In-Reply-To: <20030905150535.3988516A4C0@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



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