Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

Password required to delete files

For about the past two weeks, Finder requires me to supply my password when I want to delete a file from e.g. my downloads folder. (This is the one Leopard created, in my Home folder, but outside my documents folder.)
I have repaired permissions. Doesn't help.
When I Get Info on the folder, it states that I have "custom access", and that I can read and write.
I have selected my name and selected "apply to all enclosing folders." Still doesn't help.
My account IS an administrator account.
I do have Office 2008 installed, and I have run the updater, successfully.
Advice would be very welcome.
David

Dual 2GHz 2GB RAM PPC G5, Mac OS X (10.5.2)

Posted on Mar 17, 2008 2:57 PM

Reply
11 replies

Mar 18, 2008 3:10 PM in response to OIT

Hi

Here's the Terminal output.

drwxr-xr-x+ 16 dbogart staff 544 4 Mar 11:53 /Users/dbogart
0: group:everyone deny delete
drwxr-xr-x+ 685 dbogart staff 23290 18 Mar 14:22 /Users/dbogart/Downloads/
0: group:everyone deny delete

Seems to explain the problem; how do I change it?

David

Mar 18, 2008 3:50 PM in response to OIT

first run the following command in terminal

chmod -R -N ~/Downloads

This should remove all ACLs from ~/Downloads and anything in it.
Since ~/Downloads is a system folder and really shouldn't be deletable
next run the following

chmod +a "everyone deny delete" ~/Downloads

This should protect the Downloads folder itself from being deleted.

In the future, don't use "apply to enclosed items" for permissions on System created folders. They typically have those deny delete ACLs and you would just pass them along to all their contents.

Message was edited by: V.K.

oops, make that downloads instead of Library.

Mar 18, 2008 4:26 PM in response to OIT

OIT wrote:
Seems to explain the problem; how do I change it?

David

Well no it doesn't necessarily, since Terminal tells me
drwxr-xr-x+ 34 michaelc staff 1156 17 Mar 17:35 /Users/michaelc
0: group:everyone deny delete
drwx------+ 97 michaelc staff 3298 18 Mar 17:03 /Users/michaelc/Downloads/
0: group:everyone deny delete
while Finder tells me about my Downloads folder:
You have custom access
user(me) Read & Write
everyone No Access

However the Terminal command only looked at the Downloads directory, not anything inside. So it may be worth doing what V.K. suggested, but here's a way of doing it with just one command:
chmod -RN ~/Downloads/*

That will leave the correct ACL on the ~/Downloads directory. It's worth a try, but I'm not convinced it will work, so please give us feedback 😉

Mar 18, 2008 4:25 PM in response to OIT

I have a fix, separate from what Michael or V.K. said. If their's doesn't work, then try these:

Fix 1:

Type
chmod -R -a "everyone deny delete" ~/

Note: This will remove the 'everyone deny delete' ACE (access control entry) from all files and folders in your home directory, the next command will add it back to where it needs to be
And then
chmod +a "everyone deny delete" ~/ ~/Desktop ~/Documents ~/Downloads ~/Library ~/Movies ~/Music ~/Pictures ~/Public ~/Public/Drop\ Box ~/Sites

Note: This only applies the 'everyone deny delete' ACE to the folders listed, not their contents. These folders are required by the system, this ACE prevents you (or anyone else) from renaming, moving or deleting them (because they are required by the OS).

Just copy/paste the bold text, one at a time, into a Terminal window (/Applications/Utilities) and press return. That should do it.

This is not my solution (I don't know terminal) but this is the petrock fix for the issue.
Good luck!


Fix 2 (something more major):


1. Insert your Leopard install DVD.
2. Shut down, then start while holding "C".
3. Select a language.
4. Click Utilities>Reset Password.
5. Click "Reset" at the bottom, and reset all affected accounts EXCEPT "System Administrator (Root)".
6. Restart. All home folder permissions will be reset to default.

(And don't use the "apply to enclosed items" feature).


User uploaded file


C h r i s t o p h

Message was edited by: Christoph *

Mar 18, 2008 4:37 PM in response to Christoph ***

this is a serious overkill. there is absolutely no reason to mess with permissions on files outside the Downloads folder. what you describe would make sense if someone clicked on "apply to enclosed items" on permissions for the whole home folder. This is not the case here so why do this?

Message was edited by: V.K.

Mar 18, 2008 7:42 PM in response to V.K.

Well, VK, I think I DID click “apply to enclosed items” on the entire home folder, in a fit of desperation, after having no joy on the Downloads folder, as well.
I was also having to supply my password when I wanted to remove something from my Documents folder in my Home folder.

David

Mar 18, 2008 8:00 PM in response to OIT

ok, in that case the commands provided by Christoph are useful.
First run
chmod -R -a "everyone deny delete" ~/

This will remove the "deny delete" ACEs from everything in your home folder.

Next run

chmod +a "everyone deny delete" ~/ ~/Desktop ~/Documents ~/Downloads ~/Library ~/Movies ~/Music ~/Pictures ~/Public ~/Public/Drop\ Box ~/Sites


This will restore "deny delete" ACEs on those folders in your home folder which ought to have them such as the Desktop folder and the Downloads folder.

Hopefully, this will fix things.

and Oh, yes. As I said before, in the future DO NOT use "apply to enclosed items" on system folders!

Mar 19, 2008 6:44 AM in response to Christoph ***

Thanks everyone.
Tried Christop's solution, which didn't solve the problem. When I ran
+chmod -R -a "everyone deny delete" ~/+
I got:
+chmod: No ACL present+
Same result with his second suggested command.

So I tried Michael's suggestion to run
+chmod -RN ~/Downloads/*+
And that solved the problem for the Downloads folder. And my Home/Documents folder doesn't ask for a password, either.

So thanks for your help and interest.

David

Mar 19, 2008 7:00 AM in response to OIT

And by the way, here is the Terminal output, after running:
+ls -alde ~ ~/Downloads/+

+drwxr-xr-x 16 dbogart staff 544 4 Mar 11:53 /Users/dbogart+
drwxr-xr-x 682 dbogart staff 23188 19 Mar 09:38 /Users/dbogart/Downloads/+
+0: group:everyone deny delete+

So thanks again.

Password required to delete files

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