Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Strange files that I CANNOT delete

Strange files that I CANNOT delete
Thread Tools
Mac Enthusiast
Join Date: Oct 2002
Location: London
Status: Offline
Reply With Quote
May 21, 2005, 12:35 PM
 
I've just installed an application that has put some data files onto the HD that I need to delete so that I can add my own. So I try to unlock them and I don't have permission. I try to change permission and I get an error code 120. I log in as Root to delete them and I still can't.

How do I get rid of these little buggers?
     
Mac Enthusiast
Join Date: Oct 2002
Location: London
Status: Offline
Reply With Quote
May 21, 2005, 12:40 PM
 
I've just tried to use Cocktail to delete the files and it crashed.

I'm on Tiger, 10.4.1, the files are in a sub folder in the main Applications folder.

I just tried a restart and repair permissions and again, when I try to change the permission on the folder I get the 120 error notice. I can't move it off system. This isn't a system critical file.
     
Professional Poster
Join Date: Jun 2002
Location: Minneapolis, MN
Status: Offline
Reply With Quote
May 21, 2005, 02:49 PM
 
Here's what I'd do.

Open Terminal. Type "sudo rm -r " (make sure you put a single space after the last r). Don't press return yet. Now drag the file to the Terminal window and it will enter the path of the file. Should look something like this:
Code:
sudo rm -r ~/Library/Filename.ext
THEN press return. It might ask for your password. Once you type it in, the file will be gone. Be careful because if you enter the wrong information or press return too early, you may delete everything. Typing "sudo rm -r /" is the quick way to hose your computer beyond all repair.

"That's Mama Luigi to you, Mario!" *wheeze*
     
Mac Enthusiast
Join Date: Oct 2002
Location: London
Status: Offline
Reply With Quote
May 21, 2005, 03:21 PM
 
Yup, tried that before I logged in as root. Got an error message in the Terminal saying permission denied or something similar!
     
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status: Offline
Reply With Quote
May 21, 2005, 03:25 PM
 
that's what the "sudo" bit is for. "su" is superuser.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
May 21, 2005, 03:26 PM
 
What does ls -l say about the files?
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Forum Regular
Join Date: Jan 2000
Location: Portland, Maine
Status: Offline
Reply With Quote
May 22, 2005, 09:51 AM
 
I, actually, am having a similar problem (though I'm still running 10.3.9). If I use ls -l on the files, it tells me that no such file or directory exists, yet there it is in the Finder.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:18 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2