[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rm patch
From: |
Ian Lynagh |
Subject: |
rm patch |
Date: |
Mon, 5 Feb 2001 23:10:18 +0000 |
User-agent: |
Mutt/1.3.12i |
Hi
The attached patch takes care of the following situation:
mkdir foo
touch foo/bar (optional)
chmod 0 foo
rm -rf foo
not working as it can't chdir to foo.
I need this as my backup scripts back up directories like this (out of
necessity, they're part of a test-suite) but they then don't get
rotated as rm -rf fails on the oldest backup.
Thanks
Ian
rm.patch
Description: Text document