logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40601] - delete log file under linux
Date Mon, 13 Nov 2006 17:46:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40601>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40601





------- Additional Comments From kay.abendroth@raxion.net  2006-11-13 09:46 -------
This is not a bug, but os-specific behaviour. Linux/*nix allways assumes the
user knows what he or she is doing.

You should have asked on the user-list before filing a bug-report. In order to
prevent your "not-knowing-what-they-doing"-users from removing those log-files,
you should assign a dedicated user to your application (let's name this user
"zeus"). Create this user and make sure your application runs as this user.
After that do `chown -vR zeus LOGDIR` (where LOGDIR is the path to your
log-directory) and `chmod -vR 600 LOGDIR`. Don't forget to change the umask for
zeus in your login.conf (or whereever  this is done on your machine).

See your os-specific manuals and - for example - 
http://en.wikipedia.org/wiki/Umask for more information.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message