On 10/20/15 11:03 AM, Marko Teiste wrote: > Description: > setting HISTFILE=/dev/null and HISTSIZE=0 will replace /dev/null > with regular file on exit (when running as root). > > Repeat-By: > start bash with root priviledges > HISTFILE=/dev/null > HISTSIZE=0 > exit > > Fix: > Check if HISTFILE points to regular file before unlink/recreate?
Thanks for the report. This has been fixed for the next release of bash. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/