Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

stu3ufc

macrumors member
Original poster
Mar 28, 2008
83
0
I dont know where its come from but every time i try and delete something a message pops up that it will be automatically deleted and not placed into the trash can

I am the administrator and it says my permissions are to read and write in my "Home"

when i use the "trash can" code in terminal it says permission/access denied

help me please

is there a code or anything i can do to regain permission as adminstrator
 
When you use the "trash can code"? :confused:

sorry dude. I found a tip somewhere to type a code like this to type in terminal ":/~ Trash" or something similar and it told me access denied/ dont have permission

any suggestions on how to change my trash settings back
 
What was the code exactly? You can see your command history by repeatedly pressing the up arrow key in Terminal.

Anyway, try copying and pasting the following command into Terminal:

sudo rm -r /.Trashes ~/.Trash

Don't try to type it in, since a typo in this command can delete every file on your hard drive.
 
No such file or directory


is what i get. so i might have accidently deleted my trash directory or something

what now ?? thanks for your help
 
Well, OS X should re-create the directories automatically, but you could try running the following:

mkdir ~/.Trash
chmod 700 ~/.Trash
sudo mkdir /.Trashes
sudo chown root:staff /.Trashes
sudo chmod 1333 /.Trashes
 
i followed it and then it asks for my password and terminal wont let me enter it??

i click the grey box and it wont type in
 
doesnt seem to do anything

Last login: Sun Jan 31 02:33:57 on ttys000
Macintosh:~ stuartjones$ mkdir ~/.Trash
mkdir: /Users/stuartjones/.Trash: File exists
Macintosh:~ stuartjones$ chmod 700 ~/.Trash
Macintosh:~ stuartjones$ sudo mkdir /.Trashes
Password:
Macintosh:~ stuartjones$ sudo chown root:staff /.Trashes
Macintosh:~ stuartjones$ sudo chmod 1333 /.Trashes
Macintosh:~ stuartjones$
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.