x404.co.uk
http://www.x404.co.uk/forum/

How to empty locked recycle bin files
http://www.x404.co.uk/forum/viewtopic.php?f=4&t=2383
Page 1 of 1

Author:  lacloss [ Fri Aug 21, 2009 8:14 am ]
Post subject:  How to empty locked recycle bin files

Morning all ,noy being a Mac man I have a question for the Genius's here a client of mine has a lot ofile in his recycle/trash bin ,
they are all showing a padlock on the icon ,he want's to delete them but his normal method dosent work he tells me he cant delete the Locked items ,
any Idea's ,thanx for looking . :shock: :shock: :shock: ;)

Author:  HeatherKay [ Fri Aug 21, 2009 8:35 am ]
Post subject:  Re: How to empty locked recycle bin files

Okay, first thing to try is to choose "Secure Empty Trash" from the Finder menu.

If that doesn't work, drag the locked items from the bin to the desktop. Select one and choose File > Get Info...

In the panel check for a padlock and click it to unlock it, then you can try to delete the file again.

Hope that helps.

Author:  lacloss [ Fri Aug 21, 2009 8:43 am ]
Post subject:  Re: How to empty locked recycle bin files

Thanks Heather Ill try that and get back to you .
;) ;)

Author:  big_D [ Fri Aug 21, 2009 8:45 am ]
Post subject:  Re: How to empty locked recycle bin files

http://support.apple.com/kb/HT1526

Is he the only user, is his normal account set up as administrator?

I guess the files belong to somebody else... The above link might shed some light on the subject.

Also a little utility to delete locked files on CNet clicky

Author:  forquare1 [ Fri Aug 21, 2009 8:46 am ]
Post subject:  Re: How to empty locked recycle bin files

A slightly more industrial approach would be to open up the Terminal app located in /Applications/Utilities/Terminal
And type the following (as long as the user deleted the stuff from the local hard drive and not a USB/firewire drive)
Code:
cd ~/.Trash
cd 501
ls

At this point you should see all the files being listed on the screen. If the folder "501" didn't exist, just go into the other only folder that is there.

Carry on with the following:
Code:
sudo chown -R 777 *
(Type in admin password here)
rm -rf *


This will set permissions so anyone can modify them, then delete everything.

Author:  lacloss [ Fri Aug 21, 2009 9:07 am ]
Post subject:  Re: How to empty locked recycle bin files

big_D wrote:
http://support.apple.com/kb/HT1526

Is he the only user, is his normal account set up as administrator?

I guess the files belong to somebody else... The above link might shed some light on the subject.

Also a little utility to delete locked files on CNet clicky

yes he is the only user and not too techy ,It appears he is scanning 20/30 thousand aerial photos and then when he has transferred them to his ext drive he is trying to delete them .

more later if i have time .thnx all of you . ;)

Author:  james016 [ Fri Aug 21, 2009 11:54 am ]
Post subject:  Re: How to empty locked recycle bin files

Holding the option key while clicking on Empty Trash works for me when deleting locked files as in the Apple document that has been linked.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/