Re: stab;e/14 fails to delete r/o files in obj
- In reply to: Bjoern A. Zeeb: "stab;e/14 fails to delete r/o files in obj"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Jul 2025 08:46:02 UTC
Hi, > I do not understand why a rm -rf would not delete them even if > read-only but get a permission denied? Because of a 'schg' chflags? You can check that with 'ls -lo'. If that's the case, 'chflags -R noschg /tank/users/bz/obj/tank/users/bz/git/FreeBSD/freebsd-src' (as root) would do. I would be a bit surprised that such a flag is set under 'amd64.amd64/tmp' though. If that isn't the case, also check the flags on the containing directory (.../FreeBSD/freebsd-src). It doesn't look like anything has changed recently in the ZFS permission checks. So it seems that, besides flags, what could have changed since your latest attempt that worked is actually the owner:group of the containing directory. Hope that helps. -- Olivier Certner