safe-rm hangs when processing directory with mutli layer subdirectories

Bug #901916 reported by Duy Doan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Safe-rm
Fix Released
Medium
François Marier

Bug Description

Safe-rm hangs when trying to specify a directory structure with several subdirectory layers within it.

For example, "/home/user" has several subdirectories and each of those subdirectories have more subdirectories. As per bug 724107, you will need to specify each subdirectory and their sub directories in safe-rm.conf to protect all contents from being deleted. Since I want to protect everything in /home/user, I added something like this:

/home/user/*/*/*/*

For this example, the total directory count is several hundred. The result causes safe-rm to hang or have a severe lag time when loading the directories, that the command becomes unusable.

description: updated
Changed in safe-rm:
status: New → Triaged
importance: Undecided → Low
importance: Low → Medium
Changed in safe-rm:
milestone: none → 1.0.0
status: Triaged → Fix Committed
Changed in safe-rm:
assignee: nobody → François Marier (fmarier)
Changed in safe-rm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.