Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2018 09:35:49 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        jiashiun@gmail.com
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: rm cannot recursively delete directory on tmpfs on RPi2
Message-ID:  <CAOtMX2jTJ0Kk%2Bf%2Bc%2BZ_ZwFx4q4GrxRFgrUTof78b035j0KaYPQ@mail.gmail.com>
In-Reply-To: <CAHNYxxOxnunpBnU4_DoLjfFcVdJ5p7jDqYwSrYgm3S-weUNBew@mail.gmail.com>
References:  <CAHNYxxOxnunpBnU4_DoLjfFcVdJ5p7jDqYwSrYgm3S-weUNBew@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 5, 2018 at 10:18 PM Jia-Shiun Li <jiashiun@gmail.com> wrote:
>
> amd64 and RPi3 do not have this issue.
>
> jsli@rpi2:/home/jsli 13:04 # uname -a
> FreeBSD rpi2 13.0-CURRENT FreeBSD 13.0-CURRENT r341419 GENERIC-NODEBUG  arm
> jsli@rpi2:/home/jsli 13:05 # mount -t tmpfs tmpfs /mnt
> jsli@rpi2:/home/jsli 13:05 # cd /mnt
> jsli@rpi2:/mnt 13:05 # tar xf
> /usr/ports/distfiles/sqlite-autoconf-3260000.tar.gz
> jsli@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@rpi2:/mnt 13:05 #
>
> -Jia-Shiun

Did you check for file flags?  Do "ls -lod sqlite-autoconf-3260000/tea".
-Alan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2jTJ0Kk%2Bf%2Bc%2BZ_ZwFx4q4GrxRFgrUTof78b035j0KaYPQ>