Re: append mode on log files

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Tommy Halsbrekk wrote:

Quoted text here. Click to load it

It can, especially if you don't have a good amount of communication
within a company, where an admin might make a change and another might
not know and modifies a file to "fix" what they think is a problem.
It's primarily a good way to set some restrictions for non root users,
and maybe prevent other programs, people or log rotation software from
wiping the logs, for example.  Logs aren't usually something I'd see
people set the file attributes for, but I could see some reasons.
Mainly, it would be to prevent other things from modifying/updating
files without you specifically doing it or allowing it, or to make
people "think" before acting (again, usually config files, etc. and not
so much log files, but the same logic can apply).
Tim Greer, CEO/Founder/CTO,, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting.  24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!

Site Timeline