Date: Sat, 11 Apr 2020 17:45:48 +0100 From: Arthur Chance <freebsd@qeng-ho.org> To: Michael Sierchio <kudzu@tenebras.com>, Graham Perrin <grahamperrin@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Can't remove files from a directory that was partially used by a jail Message-ID: <d989c0e4-ba59-58d6-c9ab-fef2c8013fea@qeng-ho.org> In-Reply-To: <CAHu1Y71qBMVFNMA0sntTEyKZ%2BEVkw7J4c6tS1mOrHdHZXTRTKw@mail.gmail.com> References: <22daa8dc-cb20-6b08-b85f-161e6aca06ec@gmail.com> <CAHu1Y71qBMVFNMA0sntTEyKZ%2BEVkw7J4c6tS1mOrHdHZXTRTKw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/04/2020 21:22, Michael Sierchio wrote: > ls -Rlo > > recursive listing showing flags > > or, just apply the hammer, > > chflags -R 0 <dir> Or the no-brainer hammer rm -rf ${DIR2RM} || chflags -R 0 ${DIR2RM} && rm -rf ${DIR2RM} If that doesn't work you've probably got a read-only file system. -- Violets are red And roses are blue When metamaterials Alter their hue.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d989c0e4-ba59-58d6-c9ab-fef2c8013fea>