rotatelogs creates logs as root

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

 



Hello,

I've encountered a system which is configured to use the rotatelogs application to rotate logs. For some reason, it creates subsequent log files with root owner, while the log files should be owned by the Apache user account.

Why is it, and what can I do to solve this problem?

Apache runs under a separate user account, only one instance is running as root to be able to bind to port 80. I don't think rotatelogs should be called as root, or if so, rotatelogs should chown the files to the Apache user ID.


Regards,
MegaBrutal

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux