bug#27632: rm -f fais on directories

2017-07-17 Thread Tino Calancha
Tino Calancha writes: > Marv Graham writes: > >> This is VERY unexpected behavior! An 'rm -f' command has (for my experience >> in the last 30 years) removed anything. >> >> What;'s the problem with rm on ubuntu? > Flag -f won't delete directories. > To remove anything, you'd use: rm -rf Since

bug#27739: Link counter of ls stops working at 65'000 hard links

2017-07-17 Thread Paul Eggert
On 07/17/2017 12:33 PM, Eric Blake wrote: feel free to reply > further with any results you get after reporting this to the right > kernel folks. I reproduced the bug on Fedora 26 x86-64, and filed a bug report here: https://bugzilla.redhat.com/show_bug.cgi?id=1471967

bug#27739: Link counter of ls stops working at 65'000 hard links

2017-07-17 Thread Eric Blake
tag 27739 notabug thanks On 07/17/2017 01:58 PM, Christoph Michelbach wrote: > The link counter of ls stops working if a directory exceeds being linked to > 64'999 times. ls is just reporting the value returned by stat() from the kernel; this sounds like a kernel (or filesystem) bug. To double-c

bug#27739: Link counter of ls stops working at 65'000 hard links

2017-07-17 Thread Christoph Michelbach
The link counter of ls stops working if a directory exceeds being linked to 64'999 times. You can replicate this by first creating a folder on an ext4 file system $ mkdir deleteMe and then filling it with 64'997 additional directories. $ mkdir deleteMe/{1..64997} At this point, ls stil