1 2 3 Previous Next 31 Replies Latest reply: Oct 11, 2013 7:15 AM by ettozyame
AJSpinDrift Level 1 Level 1 (0 points)

Since upgrading to Lion, OS X has started promting for a password when deleting files and folders on my main 'Macintish HD'. I have tried restoring disk permissions, but it made no difference and the Sharing & Permissions are set to Read & Write.

 

Creating and deleting files on other disks does not require a password.

 

When Lion requests a password when deleting files, it deletes the file/folder, but does not place it in the Trash.

 

Has anyone found a suitable fix for this?

  • 1. Re: Problem deleting files - Lion prompts for password
    GTMA Level 1 Level 1 (0 points)

    I have the same problem and worse: if I create a folder on my desktop, even though permissions seem fine (I've repaired so many times! And also reinstalled Lion a couple of different ways), I get prompted to authorise if I try and move anything into the folder. MobileMe sync is broken because, I assume, of the same permissions problem. Anyone got any ideas? I did suffer the Preview problem, but deleting a file in the Containers folder solved that (Preview simply created a new one - I couldn't see any difference in the permissions there). I get MobileMe Sync errors, and I can't logout of MobileMe to stop that happening because I get a Keychain Error (can't save to the keychain, and on the permissions on login.keychain it's showing two "everyone" users). My MacBook Pro is unuseable now unless I dig out my old installation disks (Snow Leopard). I thought maybe I'd done something wrong, but seeing the other posts (not as many as I anticipated, though), I figure it's not just me.

  • 2. Re: Problem deleting files - Lion prompts for password
    AJSpinDrift Level 1 Level 1 (0 points)

    A fix for this has now been found. The reason why this is happening is because the .Trash folder has changed ownership to root. The fix simply requires ownership of the being put back to you. Open Terminal and run the following command:

     

    sudo chown yourusername .Trash

     

    This should resolve the problem without having to create new user profiles etc.

  • 3. Re: Problem deleting files - Lion prompts for password
    leece Level 1 Level 1 (0 points)

    I had this issue too, but my file permissions were correct on my .Trash folder.

    After a chat with a very helpful Apple Support rep the fix was to reset the permissions on the whole home folder.

     

    Check the permissions on one of your offending files (Get Info) and if you see there are 2x 'everyone' permissions and one is set to 'custom' then you will have the same issue as me. If you change the 'custom' permission to something else you will find it will now delete.

     

    I downloaded a small app called BatChmod and used this to batch process the permissions of my whole home folder. I suppose you could use chmod if you like ;-)

     

    See pic below for the settings, and once run, log out and back in again.

     

    Enjoy all your un-authenticated delete and move goodness!

     

     

    Screen Shot 2011-08-04 at 18.03.15.png

  • 4. Re: Problem deleting files - Lion prompts for password
    Brel63 Level 1 Level 1 (0 points)

    This worked for me! puh...

  • 5. Re: Problem deleting files - Lion prompts for password
    Kantapat Level 1 Level 1 (0 points)

    I have the same problem. I try to repaire disk permission but not work but this solution "sudo chown username .Trash" is work. Thank you.

  • 6. Re: Problem deleting files - Lion prompts for password
    archipenko Level 1 Level 1 (0 points)

    when i tried

     

    sudo chown username .Trash

     

    I get the response, "xxxusername is not in the sudoers file. This incident will be reported."

     

    Now, my xxusername I've created is not an administrator's account. There is another account on my mac that is the admin account. It is generally not used, and I've done it this way because I've heard it safer to keep your main account - the one you use everyday - as the standard account. Whats the fix for this? This didn't happen in Leopard 10.5 , or Snow 10.6, for  things like the trash...

  • 7. Re: Problem deleting files - Lion prompts for password
    hiatts Level 1 Level 1 (0 points)

    OSX has two permissions engines, POSIX type as you see in finder uner Permissions, and ACL type which is a higher level and more detailed form of security.

     

    The issues are usually related to ACL entries existing on your home folder or subfolders and contents.

     

    The way to resolve is to remove ACL entries resetting them to defaul.

     

    Open terminal.app, enter this command:

     

    sudo chmod -R -N ~

     

    press enter key.

  • 8. Re: Problem deleting files - Lion prompts for password
    mbprozilla Level 1 Level 1 (0 points)

    Ran into this issue for the first time since upgrading. (Upgraded on day of release of Lion) Followed AJSpinDrift's suggestion, worked perfectly.

     

    Thanks!

  • 9. Re: Problem deleting files - Lion prompts for password
    AussieDee Level 1 Level 1 (0 points)

    DIDN"T work for me....

  • 10. Re: Problem deleting files - Lion prompts for password
    MSiLight Level 1 Level 1 (0 points)

    I Found a Solution,

    Open your Home folder,

    then get info,

    in the bottom click on the lock bottun and enter your password, click on + and select your name,

    then in the privilege select read/write,

    then click on the perefrence icon beside +, apply all enclosed folder.....

    it's work for me. all privilage in mine.

    ========================

    http://Forums.mac4me.ir

  • 11. Re: Problem deleting files - Lion prompts for password
    jsd2 Level 5 Level 5 (6,200 points)

    MSiLight wrote:

     

    I Found a Solution,

    Open your Home folder,

    then get info,

    in the bottom click on the lock bottun and enter your password, click on + and select your name,

    then in the privilege select read/write,

    then click on the perefrence icon beside +, apply all enclosed folder.....


    Not a good idea- see

     

    Mac OS X 10.5: Renaming or saving after using "Apply to enclosed items" on a Home folder

     

    The home folder carries a hidden "everyone deny delete" ACL (a special permission) which doesn't show up in Get Info, but which can get propagated to all your enclosed files and folders when you use "Apply to enclosed items". This can cause a number of  permissions issues. The above support article was written for Leopard, and I recall, the "everyone deny delete" ACL does not get propagated this way in Snow Leopard. However on preliminary testing, it does seem to get propagated and cause problems in Lion. An immediate manifestation on my test account was this TextEdit message:

    Screen Shot 2011-09-09 at 9.31.53 AM.png

     

    A less serious side affect of using "Apply to enclosed items" on a home folder is that your previously private subfolders - Documents, Pictures, etc - will now be readable by all other user accounts.

     

    Bottom line:  Only use "Apply to enclosed items" on folders that you have created yourself, not on folders that were created by the system.

  • 12. Re: Problem deleting files - Lion prompts for password
    Tony Barone Level 2 Level 2 (220 points)

    As a matter a fact, when trying to troubleshoot a Permissions issue, I did a "Get Info" on my User Account folder and then an "Apply to all enclosed items" and it messed up my system BIG TIME...  Many applications were suddenly unable to write to their preference folder and such. 

     

    I spent HOURS trying to fix the problem, which is still not completely resolved.  I ended up creating a new user account and moving all my files over to it.

     

    Now the problem there is I cannot move or delete any of the file I moved without being prompted for a password even though "Get Info" says I am able to "Read/Write"

     

    My next step is to try BatchMod on the files in the User folder, and/or the suggestion above on the .Trash permissions.  However, I don't think its a Trash permissions issue since new files that I create in the User Account oflders don't prompt me for a password when trying to move or delete.

  • 13. Re: Problem deleting files - Lion prompts for password
    Jotta Level 1 Level 1 (0 points)

    Try this out, worked for me, and it's easy as taking candy from a kid. Not that I did that. Anyway:

     

    STEP 1. Make your hidden and system files visible:

    • Open Terminal.app and type: defaults write com.apple.Finder AppleShowAllFiles YES

     

    STEP 2. In your home folder, look for the ".Trash" folder.

     

    STEP 3. Right click and select "Get Info".

     

    STEP 4. Look at the bottom of the recent opened window for Sharing & Permissions.

     

    *** STEP 5. THE PROBLEM ***

    • You should see that there's two users: system and everyone.
    • System is NOT you, there should have your user too.

     

    STEP 6. Click the + (plus) sign and add your user (assuming you're the admin).

     

    STEP 7. Set Read & Write permissions for you.

     

    STEP 8. Click the lockpad again to lock it (duh :S).

     

    STEP 9. Make your hidden and system files INvisible again:

    • Open Terminal.app and type: defaults write com.apple.Finder AppleShowAllFiles NO

     

     

     

    That worked for me. Cya!

  • 14. Re: Problem deleting files - Lion prompts for password
    Jon Leslie Level 1 Level 1 (0 points)

    I am sorry to say but none of this works for me, the sudo chown cammand is useless, it still keeps asking for my pw when I want to put trash in the trash can. Now when I quit Adobe photoshop it says that I do not have permission to save the preferences, I dont know why its doing that now. I am also having problems with windows opening back up to where they were when quiting out of photoshop and I have tried everything for that as well and for some reason it does not open the window to the home url that I have set but instead it opens 3 or 4 previously opened windows to where I visited last. I did the update and it took care of everything, but then all of a sudden it started to ask for my pw to put into trash and then when I tried to save one file over another it wanted pw and then it said I had no permission to do so. Then Safari went right back to what it was doing before. I am VERY Annoyed by this! I am needing help.

     

    I have tried verything that was posted here and nothing seemed to work...

1 2 3 Previous Next