Unable to delete folder /Library/Containers/{YourApplicationFolder}

Hi, I have created an macOS uninstaller application to delete folder /Library/Containers/{YourApplicationFolder}. Everything inside the folder gets deleted but only the file .com.apple.containermanagerd.metadata.plist is not getting deleted.


please give a solution for this.

Posted on Dec 13, 2023 5:03 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 30, 2023 10:22 AM

The solution was actually to give Full Disk Access to Terminal and AppCleaner.

6 replies

Dec 30, 2023 9:50 AM in response to access_data

You have this written as:


/Library/Containers/{YourApplicationFolder}


That would mean the root Library folder, which does not have a Containers subfolder. Did you mean this?


~/Library/Containers/{YourApplicationFolder}


The tilde ~ meaning the Library folder within a user account.


If so, I have to wonder why you would bother to take the time to write an app for that. Anything in a user account can be deleted by the user. It may ask for your admin password before proceeding, but the entire folder and its contents will then always be deleted.

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.

Unable to delete folder /Library/Containers/{YourApplicationFolder}

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