On Wed, Jul 28, 2010 at 10:23:01AM -0600, Mike Young wrote:
> > My guess is that what's happening is that the log file is being created
> > with permissions determined by the umask, and then chmodded. So, when
> > you do the chmod on file creation with incron, that works, but then
> > immediately after the application sets it back.
> The problem is that log files get rolled with a time stamp and then a new,
> blank one is created. When the new one is created with 644, the app no
> longer works. Changing the log via a cron takes care of the problem. But
> then I have the down time in between. This deals with it right from the
> start. Plus, I can use this for other items not related to this log issue.
Yeah. So what I'm suggesting is that changing permissions on IN_CREATE may
be *too soon*.
-- Matthew Miller blocked-address <http://mattdm.org/>Received on Tue Jun 05 2012 - 22:14:21 CEST
This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST