fabi1202

Q: Can't delete Files without Password

Dear Apple-Community!

I have a Question about a Problem. Last Weeks ago, I made the OS X El Captain Update and now I can't delete Files which exist before the Update without a password, New Folders oder Documents I can delete without a password. I try the resetpassword command but it doesn't work.

I hope you can help me,

Fabio

 

Liebe Apple Community,

Ich habe eine Frage über ein Problem. Letzte Woche habe ich das OS X El Captain Update gemacht und habe nun das Problem, dass ich keine Dokumente mehr, die vor dem Update schon existiert haben,  ohne ein Password löschen kann. Neue Dokumente und Ordner kann ich ohne Probleme löschen, aber die alten halt nicht. Ich habe schon den resetpassword Befehl ausprobiert, dieser hat allerdings nichts bewirkt.

Ich hoffe ihr könnt mir helfen,

Fabio

iMac (21.5-inch, Late 2013), OS X El Capitan (10.11)

Posted on Oct 8, 2015 2:43 AM

Close

Q: Can't delete Files without Password

  • All replies
  • Helpful answers

  • by Phil-CB,

    Phil-CB Phil-CB Oct 8, 2015 3:07 AM in response to fabi1202
    Level 1 (115 points)
    iPhone
    Oct 8, 2015 3:07 AM in response to fabi1202

    Seems you just met the new El Capitan's system integrity protection (in short SIP, or aka rootless).

    Get reassured your password is not the problem ... this is just normal behaviour in OS X 10.11

     

    Here are more info about this: About System Integrity Protection on your Mac - Apple Support

     

    In case you really need to access / modify something in one of those protected folders, there is a way to disable SIP, but do this at your own risk:

    - restart your Mac on the Recovery volume (CMD + R during startup)

    - once started on the Recovery disk, select "Utilities" from the menus, then Terminal

    - in Terminal, enter the following:

        csrutil disable

    - then restart; SIP is now off and you can access / modify what you wanted to.

    - when you're done, I suggest that you re-enable SIP, following the same process but enetering csrutil enable


  • by fabi1202,

    fabi1202 fabi1202 Oct 8, 2015 3:15 AM in response to Phil-CB
    Level 1 (0 points)
    Oct 8, 2015 3:15 AM in response to Phil-CB

    Thank you for your answer. But I don't understand it because I can't delete files from my desktop. When I can't delete files in an other folder, I can understand it but so I can't

    I hope you can explain me,

    Fabio

  • by Phil-CB,

    Phil-CB Phil-CB Oct 8, 2015 7:21 AM in response to fabi1202
    Level 1 (115 points)
    iPhone
    Oct 8, 2015 7:21 AM in response to fabi1202

    If you cannot delete files from the Desktop or the Documents folder, indeed SIP may not be the cause of your problem anyway.

    Did you already tried to reset ACL on your home folder ?

     

    Boot into Recovery. When the OS X Utilities screen appears, select

    Utilities Terminal

    from the menu bar. A Terminal window will open.

    In the Terminal window, type this:

    resetpassword

     

    Press return. A Reset Password window will open. You’re not  going to reset a password.

    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.

    Select your username from the menu labeled Select the user account if not already selected.

    Under Reset Home Directory Permissions and ACLs, click the Reset button.

    Select  Restart from the menu bar.

  • by Topher Kessler,

    Topher Kessler Topher Kessler Oct 8, 2015 7:31 AM in response to fabi1202
    Level 6 (9,866 points)
    Oct 8, 2015 7:31 AM in response to fabi1202

    Select the parent folder in which the problem is occurring, and then press Command-i to get information on the folder. From here, expand the Sharing & Permissions section and then report back here with what the users/groups and associated permissions are. In general, you should see something like the following for folders in your home directory:

     

    NamePrivilege
    username (me)Read & Write
    staffRead only
    everyoneRead only
  • by fabi1202,

    fabi1202 fabi1202 Oct 8, 2015 7:35 AM in response to Phil-CB
    Level 1 (0 points)
    Oct 8, 2015 7:35 AM in response to Phil-CB

    Hello,

    yes I tried it and it change nothing. I don't know why. I read it in another forum tried it. Have you another Idea?

  • by fabi1202,

    fabi1202 fabi1202 Oct 8, 2015 7:36 AM in response to Topher Kessler
    Level 1 (0 points)
    Oct 8, 2015 7:36 AM in response to Topher Kessler

    There I can change it but the problem is not from there. IT is another Problem and it is in many folders not in one.

  • by Luis Sequeira1,

    Luis Sequeira1 Luis Sequeira1 Oct 8, 2015 7:50 AM in response to fabi1202
    Level 6 (12,647 points)
    Mac OS X
    Oct 8, 2015 7:50 AM in response to fabi1202

    fabi1202 wrote:

     

    Thank you for your answer. But I don't understand it because I can't delete files from my desktop. When I can't delete files in an other folder, I can understand it but so I can't

    I hope you can explain me,

    Fabio

     

    Did you upgrade a drive that had a previous OS X installation? Or did you do a clean install and then used Migration Assistant to import your user account?

     

    Select one file in the Finder and press Command-I. What do you see in the Get Info window, particularly the last part about "Sharing and Permissions"?

    For a normal file that you own you should see something like this:

     

    Screenshot 2015-10-08 at 3.49.42 PM.png

  • by fabi1202,

    fabi1202 fabi1202 Oct 8, 2015 7:56 AM in response to Luis Sequeira1
    Level 1 (0 points)
    Oct 8, 2015 7:56 AM in response to Luis Sequeira1

    I update a OS X Device with OS X Yosemite via the App in the App Store. And Yes I see the permissions. I have read & write.

  • by Luis Sequeira1,

    Luis Sequeira1 Luis Sequeira1 Oct 8, 2015 8:03 AM in response to fabi1202
    Level 6 (12,647 points)
    Mac OS X
    Oct 8, 2015 8:03 AM in response to fabi1202

    Maybe you lack permissions for the folder containing the file, and not the file itself, as Topher suggested.

    There is a way to fix all the permissions, if that is indeed the problem, but I'd rather not offer a long terminal command unless first we make sure this is the problem.

  • by Lexiepex,

    Lexiepex Lexiepex Oct 8, 2015 8:08 AM in response to fabi1202
    Level 6 (10,536 points)
    Mac OS X
    Oct 8, 2015 8:08 AM in response to fabi1202

    Open DiskUtility, select the disk where you have the issue (I suppose the startup disk), click the startup partition, click the FirstAid Tab.

    After that try again.

  • by Topher Kessler,

    Topher Kessler Topher Kessler Oct 8, 2015 10:39 AM in response to fabi1202
    Level 6 (9,866 points)
    Oct 8, 2015 10:39 AM in response to fabi1202

    If it's affecting subfolders, then you can change the permissions in this info window for the parent folder, and then use the gear menu to propagate the permissions from this folder to all items within the folder (and subfolders). Be careful you only do this for directories used for your personal files and content (ie, those you've created in your home folder), and not any that contain system files or configuration files (ie, your home folder itself, or Library folders, or Macintosh HD, or System, etc.).