search for: inodeoffset

Displaying 1 result from an estimated 1 matches for "inodeoffset".

Did you mean: nodeoffset
2005 Oct 29
1
Bug#336265: logrotate detection, possible attack not checked by logcheck
...tail or save output" 414: rm -f "$offsetfile" \ 415: || error "Could not remove $offsetfile" 416: fi 417: fi My proposed Fix: - if [[ $(wc -c < "$file") -lt $(tail -n 1 "$offsetfile") ]]; then + INODEOFFSET=$(head -n 1 < $offsetfile) + #INODEFILE=$(ls -id $file) ;# not run with symlink. + INODEFILE=$(find $file -follow -printf "%i") + if [[ $INODEFILE -eq $INODEOFFSET ]]; then This problem seems like to bug #195935. Best Regards, TsT -- www.letsgozik.com -------------- next part ----...