New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.3 - Problem deleting locked file


Post Reply New Thread Subscribe

 
Thread Tools
jayluna

 
jayluna's Avatar
 
Member Since: May 14, 2005
Location: Ontario, CA
Posts: 51
jayluna is on a distinguished road
Mac Specs: MB Pro, 2.66 GHz Intel Core, Mac OS X Lion NVIDIA GeForce 9600M GT 512 MB 8GB 1067 MHz DDR3 2 Duo,

jayluna is offline
Heres the problem. I pulled a folder, that i had created, off the mp3 player unaware that this folder somehow became locked. I tried deleting it and it wouldn't because it was locked. I did a search through the forums, and with little luck came up on a few past post with the similar problem. Unfortunately going through the folder get info option and unchecking the lock file option wasn't possible. I tried my second option; giving myself read & write permissions, i already had them. :mad: I really want this file off my desktop and into my trash so i can delete it.

Any help would be greatly appreciated.
Thanks,

MacBook Pro Early 2009
2.66 GHz Intel Core 2 Duo
8 GB 1067 MHz DDR3
Mac OS X Lion 10.7.3
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 7,003
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline
Open up terminal

cd Desktop - Then hit enter
rm filename.mp3 - then hit enter

if that doesn't do it put

sudo rm filename.mp3 -then hit enter
it will ask for your admin password

Don't forget to use the new User Reputation System
QUOTE Thanks
jayluna

 
jayluna's Avatar
 
Member Since: May 14, 2005
Location: Ontario, CA
Posts: 51
jayluna is on a distinguished road
Mac Specs: MB Pro, 2.66 GHz Intel Core, Mac OS X Lion NVIDIA GeForce 9600M GT 512 MB 8GB 1067 MHz DDR3 2 Duo,

jayluna is offline
Quote:
Originally Posted by trpnmonkey41
Open up terminal

cd Desktop - Then hit enter
rm filename.mp3 - then hit enter

if that doesn't do it put

sudo rm filename.mp3 -then hit enter
it will ask for your admin password

thanks man, i appreciate it but its not an mp3 file. i ment to say its a folder

MacBook Pro Early 2009
2.66 GHz Intel Core 2 Duo
8 GB 1067 MHz DDR3
Mac OS X Lion 10.7.3
QUOTE Thanks
coach_z

 
coach_z's Avatar
 
Member Since: Jul 23, 2004
Location: North NJ
Posts: 3,169
coach_z is a splendid one to beholdcoach_z is a splendid one to beholdcoach_z is a splendid one to beholdcoach_z is a splendid one to beholdcoach_z is a splendid one to beholdcoach_z is a splendid one to beholdcoach_z is a splendid one to beholdcoach_z is a splendid one to behold
Mac Specs: i dont have no mac's

coach_z is offline
press shift+command+option+delete
-chris

MoTM honor roll...
when?
i dont remember
QUOTE Thanks
jayluna

 
jayluna's Avatar
 
Member Since: May 14, 2005
Location: Ontario, CA
Posts: 51
jayluna is on a distinguished road
Mac Specs: MB Pro, 2.66 GHz Intel Core, Mac OS X Lion NVIDIA GeForce 9600M GT 512 MB 8GB 1067 MHz DDR3 2 Duo,

jayluna is offline
Quote:
Originally Posted by coach_z
press shift+command+option+delete
-chris
Tried, nothing. thanks though.

i appreciate it.

MacBook Pro Early 2009
2.66 GHz Intel Core 2 Duo
8 GB 1067 MHz DDR3
Mac OS X Lion 10.7.3
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 7,003
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline


Type
sudo rm -r
like i have there, then drag the folder into the terminal window, it will fill out the path information
hit enter, put in your admin password and hit enter

Don't forget to use the new User Reputation System
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi

rman is offline
I believe that option empty trash will remove the locked file/folder.

Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!
QUOTE Thanks
Zimkiwi

 
Member Since: Mar 28, 2012
Posts: 1
Zimkiwi is on a distinguished road

Zimkiwi is offline
Quote:
Originally Posted by rman View Post
I believe that option empty trash will remove the locked file/folder.
I had the same issue and tried everything with no luck. Finally I found the solution here on Mac-Forums. whats missing though is that once you enter the terminal tip sudo rm filename and the press enter. enter your admin password (the letters will not appear) and press enter. Then you get a prompt asking you a question (can't remember what it all says) anyway type the word yes and press enter. The file should be deleted.
It worked for me so hope it helps
QUOTE Thanks

Post Reply New Thread Subscribe


« How to write an attribute to a pfile (property list)? | IMac problem, get pictures back after computer crashed and new operating system insta »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
G4 Sawtooth AGP - USB problem at startup / firmware kay_mac Apple Desktops 8 04-21-2007 06:02 PM
Deleting File in Single-User Mode? bluntski Switcher Hangout 4 07-31-2006 05:01 PM
Not too pleased with new iMac JunMacTech Apple Desktops 14 12-05-2005 07:13 PM
Show Item Info inflexion OS X - Operating System 15 10-24-2005 10:34 PM
OS 9.2 IE file problem nikon Switcher Hangout 3 09-20-2004 10:21 AM

All times are GMT -4. The time now is 12:13 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?