Hello, I am trying to allow group ('it') members to read logs. Therefore I used following lines: ... destination hosts { file("/var/log/HOSTS/$HOST/$YEAR/$MONTH/$DAY/$HOUR:00" owner("root") group("it") perm(0640) dir_perm(0750) create_dirs(yes) ); }; ... But it doesn't work: new files are in group 'it' but new directories aren't. What can I do to have newly created directories in group 'it' ? przemol
On Tue, 2004-11-02 at 13:45, przemolicc@poczta.fm wrote:
Hello,
I am trying to allow group ('it') members to read logs. Therefore I used following lines:
... destination hosts { file("/var/log/HOSTS/$HOST/$YEAR/$MONTH/$DAY/$HOUR:00" owner("root") group("it") perm(0640) dir_perm(0750) create_dirs(yes) ); }; ..
But it doesn't work: new files are in group 'it' but new directories aren't. What can I do to have newly created directories in group 'it' ?
what about using dir_group() ? -- Bazsi
On Tue, Nov 02, 2004 at 02:38:04PM +0100, Balazs Scheidler wrote:
what about using dir_group() ?
It did the trick. Thanks. przemol
participants (2)
-
Balazs Scheidler
-
przemolicc@poczta.fm