take ownership on file

When trying to remove a 3rd party file belonging to an application listed in the following location I Get "Operation not permitted"


/usr/share/file/magic/

Filename: VMWare


even when running as "root" (or Recovery)


I tried chmod via Terminal and was still denied..


Is there a way to remove third party files clearly belonging to a 3rd party app?


The affected file is not locked via Get info, cannot add user to list of permissions as per above error.

Posted on Oct 4, 2024 11:23 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 5, 2024 7:57 AM

That is part of the command line 'file' command (man file), and the file is stored on the read-only boot volume.


So A) you should NOT delete it as that will affect the 'file' command, and B) you CANNOT delete it because it is on a read-only volume. Not even disabling System Integrity Protection will allow you to delete it.

Similar questions

5 replies
Question marked as Top-ranking reply

Oct 5, 2024 7:57 AM in response to Tech198

That is part of the command line 'file' command (man file), and the file is stored on the read-only boot volume.


So A) you should NOT delete it as that will affect the 'file' command, and B) you CANNOT delete it because it is on a read-only volume. Not even disabling System Integrity Protection will allow you to delete it.

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.

take ownership on file

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