Admin can neither unlock nor remove a folder

Working as admin I want to remove the FortiClient.app, which is locked. In the Finder this attribute is shown but grayed; therefore I cannot change it. The trouble-maker appears to be the Contents subfolder; Finder shows it a not Locked but attempts to move it to bin fail (hang). Removing the Contents from terminal also fails:

baM1:FortiClient.app marek$ pwd

/Applications/FortiClient.app

baM1:FortiClient.app marek$ ls -la

total 0

drwxr-xr-x@ 3 marek staff 96 Aug 26 2022 ./

drwxrwxr-x 80 root admin 2560 Jul 24 12:41 ../

drwxr-xr-x+ 2 marek staff 64 Jul 24 14:05 Contents/

baM1:FortiClient.app marek$ sudo rm -rf Contents

Password:

rm: Contents: Operation not permitted


Running Fortinet uninstaller does not work: it starts, asks for admin pass, then asks for permission to install helper(!), then promises to uninstall but after Quit nothing happens.


I believe that removing folders/file should be possible (and easy) for admins. Why this does not work for me? Please share a working solution.


I attach several screen-shots illustrating the issue.

Thanks a lot in advance for comments/solution.

Bests,

Marek



[Image Edited by Moderator to Remove Personal Information]

Ba4

Posted on Jul 24, 2023 7:18 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 8, 2024 11:55 PM

To uninstall forticlient from Mac.

- Remove lock in .app

sudo /usr/bin/chflags -R noschg /Applications/FortiClient.app

sudo /usr/bin/chflags -R noschg /Applications/FortiClientUninstaller.app

- Delete apps sending it to Trash


Similar questions

2 replies

Jul 24, 2023 9:06 AM in response to MarekMak

MarekMak wrote:

Working as admin I want to remove the FortiClient.app, which is locked. In the Finder this attribute is shown but grayed; therefore I cannot change it. The trouble-maker appears to be the Contents subfolder; Finder shows it a not Locked but attempts to move it to bin fail (hang). Removing the Contents from terminal also fails:

Running Fortinet uninstaller does not work: it starts, asks for admin pass, then asks for permission to install helper(!), then promises to uninstall but after Quit nothing happens.

I believe that removing folders/file should be possible (and easy) for admins. Why this does not work for me? Please share a working solution.



[Image Edited by Moderator to Remove Personal Information]



For your third party app—


Look for a built-in or in-app uninstaller and use that.


If in doubt refer to the developers website; Support/Help/FAQ/known issues/compatibility /updates/uninstall:

Contact a third party vendor

Contact a third-party vendor - Apple Support



ref

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-uninstall-FortiClient-on-macOS/ta-p/229617


https://www.fortinet.com/support/contact


https://www.fortinet.com/support


https://www.fortinet.com/support/support-services/premium-support


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.

Admin can neither unlock nor remove a folder

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