Index: libexec/rc/rc.d/cleartmp =================================================================== --- libexec/rc/rc.d/cleartmp +++ libexec/rc/rc.d/cleartmp @@ -28,6 +28,11 @@ if checkyesno ${rcvar1}; then check_startmsgs && echo "Clearing ${tmp}." + # In some cases it is possible to have files and or directories + # that have the chflags bit set. Remove it so we can clear + # the tmp directory. + chflags -R 0 ${tmp} + # This is not needed for mfs, but doesn't hurt anything. # Things to note: # + The dot in ${tmp}/. is important.