Cannot delete a folder recursively even as root
Martin Ivanov
marto1980 at gmail.com
Sun Feb 16 08:43:38 PST 2025
Hello,
I have dfly version 6 installed. I created a folder named /compat/freebsd
under /, where I unpacked the recent freebsd base package in the hope to
reconcile problems with freebsd deps. Now I have given up on that and I
want to delete the /compat/freebsd directory. However, what I get is:
root at dragonfly:/home/marto # rm -rf /compat
recursively remove /compat? y
rm: /compat/freebsd/sbin/init: Operation not permitted
rm: /compat/freebsd/sbin: Directory not empty
rm: /compat/freebsd/usr/bin/crontab: Operation not permitted
rm: /compat/freebsd/usr/bin/passwd: Operation not permitted
rm: /compat/freebsd/usr/bin/su: Operation not permitted
rm: /compat/freebsd/usr/bin/login: Operation not permitted
rm: /compat/freebsd/usr/bin/chpass: Operation not permitted
rm: /compat/freebsd/usr/bin: Directory not empty
rm: /compat/freebsd/usr: Directory not empty
rm: /compat/freebsd/libexec/ld-elf.so.1: Operation not permitted
rm: /compat/freebsd/libexec/ld-elf32.so.1: Operation not permitted
rm: /compat/freebsd/libexec: Directory not empty
rm: /compat/freebsd/var/empty: Operation not permitted
rm: /compat/freebsd/var: Directory not empty
rm: /compat/freebsd/lib/libthr.so.3: Operation not permitted
rm: /compat/freebsd/lib/librt.so.1: Operation not permitted
rm: /compat/freebsd/lib/libc.so.7: Operation not permitted
rm: /compat/freebsd/lib/libcrypt.so.5: Operation not permitted
rm: /compat/freebsd/lib: Directory not empty
rm: /compat/freebsd: Directory not empty
rm: /compat: Directory not empty
What is going on? Any ideas will be appreciated.
Best regards,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20250216/eaf0410e/attachment.htm>
More information about the Users
mailing list