From owner-freebsd-questions@FreeBSD.ORG Sun Sep 7 06:49:19 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F85616A4BF for ; Sun, 7 Sep 2003 06:49:19 -0700 (PDT) Received: from void.xpert.com (localhost.xpert.com [199.203.132.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 184EE43FAF for ; Sun, 7 Sep 2003 06:49:11 -0700 (PDT) (envelope-from Yonatan@xpert.com) Received: from void.xpert.com (localhost [127.0.0.1]) by void.xpert.com (8.12.8/8.12.8) with ESMTP id h87EAEnt025820 for ; Sun, 7 Sep 2003 17:10:14 +0300 Received: from EXCHANGE.xpert.com (exchange.xpert.com [199.203.132.135]) by void.xpert.com (8.12.8/8.12.8) with ESMTP id h87EACux025813 for ; Sun, 7 Sep 2003 17:10:13 +0300 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MIMEOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Sun, 7 Sep 2003 16:47:51 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: I need to control a bunch of files. Thread-Index: AcNz3FsRKiDq9101Sg+1QtA/HFX5cABaqExw From: "Yonatan Bokovza" To: Subject: RE: I need to control a bunch of files. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2003 13:49:19 -0000 > -----Original Message----- > From: Mark Terribile [mailto:materribile@yahoo.com] > Sent: Friday, September 05, 2003 21:33 > To: freebsd-questions@freebsd.org > Subject: Re: I need to control a bunch of files. >=20 >=20 >=20 > Vitali Malicky writes >=20 > > 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). >=20 > > 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. >=20 > If it's a local file system, you may be able to > do it with the kqueue(2)/kevent(2) mechanism. >=20 and check out ports/sysutils/wait_on.