[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vps-mail] Savelogs Question



Remember the permissions issue?

When savelogs rotates files, a new file is created. I need
to know how to specify the permissions & group for the
replacement file.

Example:

Savelogs rotates procmail.log

New file is:
-rw-r--r--  1 root  wheel   procmail.log

But I want:
-rw-rw----  1 root  pop   procmail.log


Is there any simple way to accomplish this, other than
writing a separate script to run after savelogs with the
commands:

chmod 660 /var/log/procmail.log
chgrp pop /var/log/procmail.log

-Abigail

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: