Unable to delete a folder

timswim78

Diamond Member
Jan 1, 2003
4,330
1
81
I am running OS X 10.6, with the most recent updates, on an iMac. I have a folder on my desktop, which I want to delete. Whenever I attempt to trash the folder, I get an error which reads, "The operation can't be completed because you don't have permission to access some of the items." I

have tried repairing file permissions and rebooting. Neither has solved the issue.
 

GWestphal

Golden Member
Jul 22, 2009
1,120
0
76
is it just an empty folder? could be that some item inside is locked. if you right click and go to get info there should be a check box to unlock it if its locked. Or you can just open terminal and do it like its linux if you know what you're doing.

cd /Users/"username"/Desktop
sudo rm -rf "foldername"
 

timswim78

Diamond Member
Jan 1, 2003
4,330
1
81
is it just an empty folder? could be that some item inside is locked. if you right click and go to get info there should be a check box to unlock it if its locked. Or you can just open terminal and do it like its linux if you know what you're doing.

cd /Users/"username"/Desktop
sudo rm -rf "foldername"

The terminal commands that you provided worked. Thank you.