Zombie folder refuses to Delete from Desktop
With the exception of the fact that this user's struggle (posted April 2020) involved a stuck directory in the Trash (Catalina) vs. my own issue: a stuck directory on the Desktop (Big Sur), our issues are otherwise exactly the same. This is so frustrating! I salute the fellow who was helping him out btw! Mr. John Galt was extremely informative (and must like Ann Rand given his username :).
Like the poster in the above-linked thread, I previously tried all the usual command-line procedures, both from within single-user mode, and by accessing Terminal by booting into recovery mode. Like him, I receive the same "directory is not empty" response.
For full disclosure, I am asking about this concurrently on Ask Different.
What I have, is a ghost directory on my desktop with two files of 0KB within it. Neither the files nor the directory--which appeared out-of-nowhere and is called "Applications"--can be deleted by -rm -r and so forth. It does however open, and doing so reveals two files that are grayed-out/locked, of 0KB filesize.
Changing permissions from the info inspector (unlocking the padlock) is a no-go. FWIW, the files are artifacts of a since-removed automator app called Karabiner Elements. Both files are packages, and revealing the contents of them shows a directory called Contents with nothing in them.
What are my options to inoculate this bugger?
Thanks in advance!
MacBook Pro 13″, macOS 11.2