search for: inodefil

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

Did you mean: inodefile
2005 Oct 29
1
Bug#336265: logrotate detection, possible attack not checked by logcheck
...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 -------------- A non-text attachment was scrub...