stab;e/14 fails to delete r/o files in obj
Date: Sun, 13 Jul 2025 08:06:45 UTC
Hi, a machine recently got updated to 14.3-STABLE FreeBSD 14.3-STABLE stable/14-1821af77efef GENERIC amd64. It seems there is some change in behaviour; this is on ZFS in case that matters: % pwd /tank/users/bz/git/FreeBSD/freebsd-src I normally run: % rm -rf ../../../obj/tank/users/bz/git/FreeBSD/freebsd-src for my MAKEOBJDIR if I am building a different branch (main vs. stable/14 as make clean does not do a proper job in that case). This no longer works successfully: ... rm: ../../../obj/tank/users/bz/git/FreeBSD/freebsd-src/amd64.amd64/tmp/usr/include/curses.h: Permission denied rm: ../../../obj/tank/users/bz/git/FreeBSD/freebsd-src/amd64.amd64/tmp/usr/include: Directory not empty rm: ../../../obj/tank/users/bz/git/FreeBSD/freebsd-src/amd64.amd64/tmp/usr: Directory not empty rm: ../../../obj/tank/users/bz/git/FreeBSD/freebsd-src/amd64.amd64/tmp: Directory not empty ... % ls -l ../../../obj/tank/users/bz/git/FreeBSD/freebsd-src/amd64.amd64/tmp/usr/include/curses.h -r--r--r-- 1 bz wheel 101351 Jul 4 00:37 ../../../obj/tank/users/bz/git/FreeBSD/freebsd-src/amd64.amd64/tmp/usr/include/curses.h I do not understand why a rm -rf would not delete them even if read-only but get a permission denied? /bz -- Bjoern A. Zeeb r15:7