Re: rm cannot recursively delete directory on tmpfs on RPi2

From: Alan Somers <asomers_at_freebsd.org>
Date: Thu, 6 Dec 2018 09:35:49 -0700
On Wed, Dec 5, 2018 at 10:18 PM Jia-Shiun Li <jiashiun_at_gmail.com> wrote:
>
> amd64 and RPi3 do not have this issue.
>
> jsli_at_rpi2:/home/jsli 13:04 # uname -a
> FreeBSD rpi2 13.0-CURRENT FreeBSD 13.0-CURRENT r341419 GENERIC-NODEBUG  arm
> jsli_at_rpi2:/home/jsli 13:05 # mount -t tmpfs tmpfs /mnt
> jsli_at_rpi2:/home/jsli 13:05 # cd /mnt
> jsli_at_rpi2:/mnt 13:05 # tar xf
> /usr/ports/distfiles/sqlite-autoconf-3260000.tar.gz
> jsli_at_rpi2:/mnt 13:05 # rm -rf sqlite-autoconf-3260000/
> rm: sqlite-autoconf-3260000/tea: Operation not permitted
> rm: sqlite-autoconf-3260000/: Directory not empty
> jsli_at_rpi2:/mnt 13:05 #
>
> -Jia-Shiun

Did you check for file flags?  Do "ls -lod sqlite-autoconf-3260000/tea".
-Alan
Received on Thu Dec 06 2018 - 15:36:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC