Thanks for the report and patch.
However, both standards and historical practice agree that
rm should not do as you suggest.
I suggest you change your backup script to adjust
the permissions, or write a small wrapper script around rm to
do what you want.
Ian Lynagh <[EMAIL PROTECTED]> wrote:
| 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.
_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils