Can not delete LaunchDaemon and LaunchAgent Folder

I am not allowed permission to delete the LaunchDaemons folder and LaunchAgent folder.


The folders are located:

  • systemfolder/library/launchdaemons
  • systemfolder/library/launchagents



I have tried changing the sharing permissions on the respective folders and allowing myself as administrator (and username) getting authorisation to delete the folder. But, a box pops up with the message "the operation can't be completed because you don't have the necessary permission."


I right-click on the respective folders, click get info, the open lock in lower right corner, and then click on + icon.



This box pops up!!



I have also tried clicking on preferences, then 'apply to enclosed items', and then clicking on + to add my username, then the whole box freezes and I can close it.


Here the box freezes.....!!


I have also tried to drag the folders to the desktop first in order to delete them afterwards but the folders are just copied. And there are no 'move to trash' when you right click on the folders and you can't press 'command + delete'.


Does anyone know what to do? 🙏🏽 Please help!! 🙏🏽 I have spent hours today trying to fix it and I can't find any solution online!!! 😒




Posted on Feb 3, 2019 2:57 PM

Reply

Similar questions

14 replies

Feb 3, 2019 3:05 PM in response to dialabrain

First of all those folders are protected from being deleted and are needed. Why do you want to delete them?


Are you serious??


Because there are pop-ups on my computer that are annoying the **** out of me! They began when I accidentally dowloaded something. I usually just delete the username/library/launchdaemons and then they go away. Then I spotted these folders!

Feb 3, 2019 6:30 PM in response to Mazdakv

Hi

As you know there are two Libraries on the Mac.

Unfortunately they are named the same, but contain different files.

One is the User (yours) Library.

The other is the System Library.

Deleting Library Files should be the last resort.

While you can delete almost anything in the user folder you should stop and think before deleting system Files.

Usually Pop-ups and other stuff happens from User library.

At the moment you are looking at the System library containing com.apple....... files. It is almost certain that any file named com.apple. is safe.

If you must delete, use more safe approach..

Copy the original to Desktop, now delete it. Using that method if something goes wrong you can possibly recover.




Feb 3, 2019 6:04 PM in response to Mazdakv



The pop-ups that show up on safari.


You'll need to provide more information than that.


I have also tried clicking on preferences, then 'apply to enclosed items', and then clicking on + to add my username, then the whole box freezes and I can close it.


That was a bad idea.


I usually just delete the username/library/launchdaemons


ok but that's not the folder shown in the screenshots you posted.


Perhaps you should from the beginning and describe what's wrong with Safari.

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.

Can not delete LaunchDaemon and LaunchAgent Folder

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