The folder “com.apple.aned” can’t be opened because you don’t have permission to see its contents.

Hi I came across a file in my cache folder that's has been giving me problem to delete. The file name is com.apple.aned which I can't explain where it came from. Did research about it to no avail.


I have an Imac 27" 2019 running on Big Sur OS


I did some necessary steps:

Using terminal sudo rf

Dragging to trash

Renaming it (it can't be renamed)

Copying and pasting to other location (pop up error still no permission error)

Cache folder where it is in has the permission to read/write.


Been frustrated for quite awhile. Checking the file it is registering zero bytes but through getting info it says calculating eternally to no avail.


Posting photos with the thread. I really appreciate who can help me.



Posted on Dec 8, 2020 8:41 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 3, 2021 4:08 AM

I've stumbled on the same issue on several Macs when I tried to clean up a bit by deleting cache folders.


The com.apple.aned directory (it's actually a folder, not a file) seems to be utterly undeletable, as even the root user get a permission error when trying...


The only way I found to get rid of it is to boot the Mac in recovery mode (cmd-R) and then use the terminal to delete it (using rm). I guess it would also work in target disk mode or booting from an external drive.


I did not notice any adverse effect after deletion; everything seems to work as normal. I can't exclude that something got broken, though, maybe I just didn't notice yet...


I hope this helps.

17 replies
Question marked as Top-ranking reply

Feb 3, 2021 4:08 AM in response to ben0110

I've stumbled on the same issue on several Macs when I tried to clean up a bit by deleting cache folders.


The com.apple.aned directory (it's actually a folder, not a file) seems to be utterly undeletable, as even the root user get a permission error when trying...


The only way I found to get rid of it is to boot the Mac in recovery mode (cmd-R) and then use the terminal to delete it (using rm). I guess it would also work in target disk mode or booting from an external drive.


I did not notice any adverse effect after deletion; everything seems to work as normal. I can't exclude that something got broken, though, maybe I just didn't notice yet...


I hope this helps.

Mar 12, 2021 12:48 AM in response to Glenn Freeman

Hi,

I have had the same problem and thanks to the answer from LS-4p1 I've could solve this issue.

I've a MacBook Pro 13" M1 and these are the commands I've used to deleting the "com.apple.aned" file/folder.


Preliminary Step: Startup your Mac in recovery mode - the methods depending of which Mac you have (Intel or M1 based)


1. Step: cd /Volumes/NameOfYourDisk/Users/YourUserAccount/.Trashes
2. Step: ls (display the current item/content of the user trash folder) 
3. Step: rm -R /NameOfItem
4. Step: ls (only for checking that the wanted item/content is gone)
5. Step: exit (closing terminal session)


Finally restart the Mac normally.


Regards.

Mar 14, 2021 12:01 AM in response to NicoPiove

Hi,

please pay attention of the first step, that you have to start the Mac in recovery mode!

The methods depends on which typ of Mac you have:


Then go ahead there – open the Terminal.app and enter the mentioned commands:

https://discussions.apple.com/thread/252146577?answerId=254534818022#254534818022


Keep in mind that the commands only delete the content of the trash bin of your user account.

The commands will not deleting the "com.apple.aned"-file/-folder from its original location (Library/Caches/ etc.).

Therefor you have to change the path within the commands accordingly.


Regards.


May 21, 2021 6:50 AM in response to ben0110

Hi, looks like a lot of people have the same problem as you, I also have the same problem. I tried the same things as you did but I didn't work. I downloaded omnidisksweeper to completely delete this file and it dropped me this error: The file “com.apple.aned” doesn’t exist.


Looks like the file does exist but it can't be deleted. But anyways, the file is less than 0KB so no-one should worry about it.

I gave up with the file and I believe that its a bug or something similar. Good luck.


Mar 19, 2021 7:51 AM in response to Juland

Hello Juland ;



I'm trying to follow the procedure ; but look like cannot find the file ,


Maybe I making some mistakes to insert the codes .


It is not so clear to me how to fill and insert the command properly , can u please write it in a way that a beginner can understand it ,


Or explain it in an alternative way ?

i will be very great full


Nicola

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

The folder “com.apple.aned” can’t be opened because you don’t have permission to see its contents.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.