osx - Can't delete folder, permission fault

07
2014-07
  • user332243

    I have a white Mac Book and I am trying to install keyremap4mac, but it tells me that I have installed "double command".

    I deleted double command but in my library/startupitems/ there is a folder "doublecommand" which can't be deleted or renamed.

    I tried everything, but when I tried terminal delete, it said that I don't have permissions.

    sudo: /etc/sudoers is mode 0640, should be 0440
    Segmentation fault
    

    So I used disk utility to repair permissions and I got this

    User differs on "Library/StartupItems", should be 0, user is 501
    Permissions differ on "Library/StartupItems", should be drwxr-xr-x , they are dr-x---r-x 
    ACL found but not expected on "Library/StartupItems"
    Unable to set owner and group on "Library/StartupItems". Error 1: Operation not permitted
    Unable to set permissions on "Library/StartupItems". Error 1: Operation not permitted
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/English.lproj/RemoteDesktopMenu.nib", should be drwxr-xr-x , they are -rwxr-xr-x 
    Repaired "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/English.lproj/RemoteDesktopMenu.nib"
    Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent" has been modified and will not be repaired
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Remote Desktop Message.app/Contents/Resources/English.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rwxr-xr-x 
    Repaired "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Remote Desktop Message.app/Contents/Resources/English.lproj/UIAgent.nib"
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Support/LockScreen.app/Contents/Resources/English.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rwxr-xr-x 
    Repaired "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Support/LockScreen.app/Contents/Resources/English.lproj/MainMenu.nib"
    Finished verify/repair permissions on disk0
    

    I tried to press Cmd+S on start, logged in as root logged in as su.

    Tried putting this command

    chmod 0440 /etc/sudoers
    

    And nothing works I can't repair whatever and can't delete that damn folder. I

    I enabled root user, created password , logged in but still with no avail. Can't delete folder.

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    osx - Warning while using Disk Utility to verify permissions on Snow Leopard
  • alexus

    I was using Disk Utility to do a "Verify Permission" and I got the following message:

    Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent" has been modified and will not be repaired.


  • Related Answers
  • Benjamin Schollnick

    It's a known issue, and actually a bogus message.

    It has been around since Mac OS X 10.5, and while it has changed for Mac OS X 10.6, the issue still arises...

    "You can safely ignore this message. It is accurate, but not a cause for concern." (Apple Support 2007-11-06 — Document No. 306925)

    http://support.apple.com/kb/TS1448

    Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent" has been modified and will not be repaired.

    Resolution You can safely ignore these messages. You can also usually ignore any "ACL found but not expected..." message. These messages can occur if you change permissions on a file or directory. These messages are accurate but are generally not a cause for concern.