Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Can't Delete Files in /usr/share/file/magic Directory

    Hi, I have a vmware directory under /usr/share/file/magic directory on my Mac that I can't delete even as root. The permission is

    -rw-r--r-- 1 root wheel 284 Aug 22 17:39 vmware. Got the error:

    rm: vmware: Operation not permitted

    Please help.

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Harrow, UK
    You can't delete a directory that contains files by using just rm. You need to use rm -R.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Clarification, I used rm -rf on the directory. It gave me that error message.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts