Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Problem deleting files - Lion prompts for password

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?

Posted on Jul 22, 2011 6:23 AM

Reply
32 replies

Oct 22, 2011 7:24 AM in response to leece

Okay this worked, I cant believe I over looked this!!! Thanks, but I am still trying to figure out how to get my computer to recognize the preferences that I have set for safari and all my other programs. When I close down all my windows and such and then reboot, it reboots right back to where I was before. It opens up all the windows that I worked on before. The computer keeps opening up iTunes and I have to go back through and accept terms even though I did that earlier yesterday. Then it has Safari opened with all the websites that I have visited previously in the past. Then it opens up Photoshop with old files that I had worked on awhile back. So I go back into my preferences and it was like I didnt even change them. So I went ahead and changed what I wanted and shutdown my computer and turned it back on. All of a sudden my computer booted right back to where it was and opened all the window ignoring my preferences. So I was told to check a box in the shutdown window which was an option to use if I did not want the windows to open back up on restart. I did that but it ignored that and opened up everything that I had opened up previously and now I am back too the begining of a non ending battle with Lion.


Though the BatChmod worked for me. I am very happy that it forced the permission back to me. This is a keeper...


I would like help with the other issue though if I am able to get that.

Oct 22, 2011 7:27 AM in response to AJSpinDrift

Sorry but this did not work sudo chown yourusername .Trash.

But this did BatChmod

AJSpinDrift wrote:


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?

Oct 30, 2011 8:14 AM in response to annefrombarrow

Well, I had other problems that developed along with the trash. My entire permissions was screwed up. I did exaclty what I was supposed to do with the chow thingy did not work. I did not have permission to do anything on this computer. When I did fix it, it, went right back to the same problems. You must of had a different bug problem than me. Not only that but I was just have a permission problem with the .trash, but when I would reboot it went right back to where it was the day before.


Its kinda like, when someone gets hit by a car and that somone ends up with brain damage and they wake up from acoma... They can only remember before the accident and as the day goes on they remember everything through out the day. Then when they go to bed and wake up the following morning they only remember everything before the accident and dont remember anything afterwards. Thats kinda what my computer was doing.


When I downoaded BatChmod, that fixed all of my problems, I dont know what went wrong, even people at apple could not figure it out. But BatChmod fixed not only the permissions but that weird bug that my computer was having a problem with. I wasnt miss typing anything or did anything wrong, its just that sudo chown thing did not work for my computer...


Again sorry, it was not the best solution for me...

Oct 30, 2011 8:19 AM in response to GTMA

I have reoposted this cause when I used the BatChmod it fixed everything on my computer... I redid the BatChmod and right after I did that I rebooted my computer without doing anything else and it worked perfectly!



Okay this worked, I cant believe I over looked this!!! Thanks, but I am still trying to figure out how to get my computer to recognize the preferences that I have set for safari and all my other programs. When I close down all my windows and such and then reboot, it reboots right back to where I was before. It opens up all the windows that I worked on before. The computer keeps opening up iTunes and I have to go back through and accept terms even though I did that earlier yesterday. Then it has Safari opened with all the websites that I have visited previously in the past. Then it opens up Photoshop with old files that I had worked on awhile back. So I go back into my preferences and it was like I didnt even change them. So I went ahead and changed what I wanted and shutdown my computer and turned it back on. All of a sudden my computer booted right back to where it was and opened all the window ignoring my preferences. So I was told to check a box in the shutdown window which was an option to use if I did not want the windows to open back up on restart. I did that but it ignored that and opened up everything that I had opened up previously and now I am back too the begining of a non ending battle with Lion.


Though the BatChmod worked for me. I am very happy that it forced the permission back to me. This is a keeper...


I would like help with the other issue though if I am able to get that.

Feb 17, 2012 7:40 AM in response to archipenko

The command "sudo chown username .Trash" will - in essence - still work but needs a minor modification since you need to run it from the administrative account.


Here is the revised command to be run from a terminal session with the administrative account for a non-administrative Trash folder:


sudo chown username ~username/.Trash


Hope this helps.


Regards,

-jp

Mar 10, 2012 11:58 PM in response to hiatts

I hit this thread as I had as well a strange permissions problem with my Lion Server Installation. While I am sure that BatChmod would do the trick, I believed that the key to solve my permissions problem was the "Clear ACLs" checkmark and I tried just the simple command line hint from hiatts 😎


chmod -R -N <directory> against directories containing files with messed up permissions (may your home dir) solved the issue.


I wish back the Snow Leopard/MobileMe times. Since Lion/iCloud I have to fight a new problem every week 😢

Apr 8, 2012 3:56 PM in response to hiatts

For some reason, the ACL reset never worked for me when I did it on restart, with command-R and so forth.


In fact, I tried ever other solution in this thread, and each had some problem that kept it from working. I moved files to a new directory, I changed their permissions on and off, I spread all kinds of badness with the "apply to enclosed items", and I tried some of the Terminal sequences but they always gave errors.


But when I did it your way -- with "sudo chmod -R -N ~" in Terminal, it fixed everything, and now I can delete files. Thanks. I even called Apple and asked about this chmod, and they said it's the same as doing the ACL reset on restart. But it worked better. All good.

Problem deleting files - Lion prompts for password

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.