Subject: | 1.19 - chmod 770 for newly created log diles |
Date: | Tue, 07 Oct 2014 10:44:28 +0200 |
To: | bug-Log-Dispatch-FileRotate [...] rt.cpan.org |
From: | Gérald Salin <gerald.salin [...] toulouse.inra.fr> |
Hi,
I'm using Log::Dispatch::FileRotate for some weeks....thank you for this
useful module.
But I have a problem : the logfiles are used by web applications (with
user apache) or by command lines application (another user, in the same
group).
When rotating (based on size), the current user is used as owner and the
goup can't write to the newly created file, causing errors.
Is there a simple way in your module to apply a chmod 770 to the created
log files.
Thank you for your help
Gérald
--
Gérald Salin
Informatique - Plateforme GeT-PlaGe
Génopole Toulouse Midi-Pyrénées
Tél : 05.61.28.57.47
Fax : 05.61.28.55.93