Can't Delete Folder (Security)

Discussion in 'OS X El Capitan (10.11)' started by Trekkie, Aug 21, 2016.

  1. Trekkie macrumors 6502a

    Trekkie

    Joined:
    Nov 13, 2002
    Location:
    Wake Forest, NC
    #1
    I had a weird issue with the app store and it was recommended I rename something in /var/private/folders (the zz directory) and move it to the trash.

    I did that, but now I can't delete it.

    It's not 'owned' by me, and nothing I do will let me get rid of it. I've got tons of linux experience and went in and tried to chown, chgrp, rm -rf but nothing will 'take ownership' of it. It's tagged security wise with owner of root/wheel as the user/group.

    What the heck can I do to get rid of this? it's more an annoyance and isn't causing a problem but it's driving me nuts every time I empty the trash and it tries to delete 32K some files and fails.
     
  2. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #2
    Which directory specifically? From where are you trying to remove it?
     
  3. Trekkie thread starter macrumors 6502a

    Trekkie

    Joined:
    Nov 13, 2002
    Location:
    Wake Forest, NC
    #3
    I typed the wrong directory. It was /var/folders/zz not /var/private
     
  4. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #4
    And now its located where? Trash? What error message do you receive when you remove it with sudo?
     
  5. Trekkie thread starter macrumors 6502a

    Trekkie

    Joined:
    Nov 13, 2002
    Location:
    Wake Forest, NC
    #5
    Empty Trash = 'in use' even though I've verified it is not in use. the zz directory was created again as the support article indicates.

    sudo's response is "Operation not permitted" on every file/subdirectory.
     
  6. grahamperrin macrumors 601

    grahamperrin

    Joined:
    Jun 8, 2007
    #6

Share This Page