Date: Wed, 14 Nov 2012 13:34:14 -0700 From: Gary Aitken <freebsd@dreamchaser.org> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: rm -rf and flags (schg, sunlnk) Message-ID: <50A40046.1070307@dreamchaser.org>
next in thread | raw e-mail | index | archive | help
Assuming one makes a mirror of a file system for backup purposes, then renames the mirror and makes another one, then attempts to remove the original using "rm -rf", the rm will fail if any of the files have the schg or sunlnk bits set. Is there an easy way around this problem other than traversing the whole subtree, finding files with the flags set and unsetting them? thanks, Gary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A40046.1070307>