Using "sudo rm -rf" on "read-only file system"

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
Ok, so I am trying to delete some files with the command "sudo rm -rf". I get the return message "read-only file system." I am log in as adim and I don't have the option of changing it to a write file in the "get info" tab. How is it possible to delete these files?
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
So I'm assuming you can't just drag it to the trash while logged in as admin?

What are trying to delete?
good question. When I try to I get the error message "sorry, the operation could not be complete because an unexpected error occurred. (Error code -61)."
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
I didn't see where you asked what I am trying to delete. It is a "apimac timer" program that i downloaded off the apple website. It was working perfectly and me, being an idiot, tried to update the program. That's when it stopped working. I am hoping by removing it completely then reinstalling it fresh it will work again.
 

sammich

macrumors 601
Sep 26, 2006
4,287
215
Sarcasmville.
You haven't told me where this file is located, because that error means you don't have permissions to write.

If you don't know, just post (without your OS X user name) what the list is when you command-click on the filename in the folder window of the file you're trying to delete.
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
when i command-click under general tab it says "where: /volumes/timer" and "where: /volumes/timer 1/apimac timer"

You haven't told me where this file is located, because that error means you don't have permissions to write.

If you don't know, just post (without your OS X user name) what the list is when you command-click on the filename in the folder window of the file you're trying to delete.
 

Nermal

Moderator
Staff member
Dec 7, 2002
18,778
1,243
New Zealand
It sounds like you're trying to delete from a mounted read-only disk image. Do you have any images mounted?
 

sammich

macrumors 601
Sep 26, 2006
4,287
215
Sarcasmville.
Well, yeah that's it.

You've been running API Timer from the disk image you download off the net. It's not actually installed on your local drive, so all you need to do is find that disk image (something.dmg) and delete it.

I'm going to also take a stab and say you've been opening this application from the dock? If so just drag it off the dock, otherwise if you've been using a shortcut/alias, just stick that in the bin as well.
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
I just deleted all the .dmg files associated with that program and removed the icon from my dock. Yet I am still receiving that error message when I try to drag it to my trash can and the "sudo rm -rf" in terminal is still saying it is "read-only system"

Well, yeah that's it.

You've been running API Timer from the disk image you download off the net. It's not actually installed on your local drive, so all you need to do is find that disk image (something.dmg) and delete it.

I'm going to also take a stab and say you've been opening this application from the dock? If so just drag it off the dock, otherwise if you've been using a shortcut/alias, just stick that in the bin as well.
 

sammich

macrumors 601
Sep 26, 2006
4,287
215
Sarcasmville.
I just deleted all the .dmg files associated with that program and removed the icon from my dock. Yet I am still receiving that error message when I try to drag it to my trash can and the "sudo rm -rf" in terminal is still saying it is "read-only system"
Oh, what do you mean "all .dmg files associated with that program"? There really should only be 1 dmg file you should be deleting.

To finish off the deleting, find the eject for that image, it should either be on your desktop or in a finder window on the left with an eject button next to it.
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
I for some reason had to eject it. After I did that, the program did not appear anymore when I did the search for it. I just tried reinstalling the program again. After I downloaded it, I copied it to my application folder. Now when I open it from my application folder it just bounces in my dock and it doesn't open.
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
I had mutiple ones like "timer (1).dmg", " timer (2).dmg" just because I downloaded it multiple times

Oh, what do you mean "all .dmg files associated with that program"? There really should only be 1 dmg file you should be deleting.

To finish off the deleting, find the eject for that image, it should either be on your desktop or in a finder window on the left with an eject button next to it.
 

sammich

macrumors 601
Sep 26, 2006
4,287
215
Sarcasmville.
Do any other applications open?

Not sure why it wouldn't open, as long as you have the latest version it should work, it works on mine.

Do you know what version of OS X you're running? (Apple in menu bar -> About this mac)?

When you copied it, you just dragged it in right? But I wouldn't worry about it, maybe a restart would fix it, but if you're not going to use it, just forget about it.
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
I am running mac os x 10.5.8. When I downloaded it, i opened the dmg file and then copied the folder to my apllication folder

Do any other applications open?

Not sure why it wouldn't open, as long as you have the latest version it should work, it works on mine.

Do you know what version of OS X you're running? (Apple in menu bar -> About this mac)?

When you copied it, you just dragged it in right? But I wouldn't worry about it, maybe a restart would fix it, but if you're not going to use it, just forget about it.
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
The reason i like the apimac timer program is it allow me run a file every so often at set intervals. Ie say I want to run the system sound "purr" every 10 seconds and repeat it, I can do so. There are a lot of programs out there that will allow you to run a file but they don't alow you to loop it over and over.
 

sammich

macrumors 601
Sep 26, 2006
4,287
215
Sarcasmville.
Have you tried restarting your computer and reopening? Have the latest version?

Oh, and open up Console in Utilities and see if there are any messages from when you tried to open the program.
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
Tried shutdown/restart with everything deleted then redownloaded and reinstalled everything. Icon is still bouncing at the bottom of my dock and I cant open it. I opened console and saw this "4/24/10 2:54:18 AM Apimac Timer[363] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'. "

Have you tried restarting your computer and reopening? Have the latest version?

Oh, and open up Console in Utilities and see if there are any messages from when you tried to open the program.
 

sammich

macrumors 601
Sep 26, 2006
4,287
215
Sarcasmville.
Tried shutdown/restart with everything deleted then redownloaded and reinstalled everything. Icon is still bouncing at the bottom of my dock and I cant open it. I opened console and saw this "4/24/10 2:54:18 AM Apimac Timer[363] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'. "
Hmm, that version may not work at all. You will probably have find the version that was working for you before and use. Not sure what else you can do...

Actually, I'm uploading a copy of mine, which is 6.3 and it works on my computer.

Link: http://www.megaupload.com/?d=RB6EV07L
 

Mattbull

macrumors member
Original poster
Dec 15, 2009
38
0
Your copy did the trick! Thanks for taking the time out of your day to help me out. God bless you
 

thepen

macrumors newbie
Oct 22, 2014
4
0
same issue on a full external drive

Any suggestions under these circumstances? Presently unable to delete using trash, and Terminal says:
rm: /Volumes/...: Read-only file system

Terminal command:
chown (user):staff /Volumes/...

also gives "Read-only file system"

The drive is full to capacity (accidentally). I can copy from but not write to it, including permission changes via finder. Any guidance is greatly appreciated!
 

Leov39

macrumors newbie
Feb 12, 2015
2
0
Same issue on a full drive

"thepen", did you ever get a reply to your post?
I have the same problem, but didn't see a reply.
Thank you!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.