Read-only.


Forum: Other Help Topics
Topic: Read-only.
started by: Zucca

Posted by Zucca on June 08 2006,18:43
I have a problem...
For example when I try to modify /etc/motd my editor says, it's read-only.
Ok. I'll try to chmod. Nope. Does not work. Even if I'm root.
At some cases it says: read-only filesystem.
I guess I have to copy it to /ramdisk to make it writeable? But that's not enough I guess.

I saw a script somewhere named mkwriteable. Could this be a solution to my problem?

Posted by humpty on June 08 2006,19:16
yep, that would copy more of the base system read-only image to ram.

another way would be to copy the file and delete the sym-link.

Posted by Zucca on June 08 2006,20:28
Hmm. That could also be the answer for my other problem with Firefox.
When adding new search engines to FireFox menubar nothing simply happens.

Anyway. Thanks for this info. :)

Posted by cbagger01 on June 11 2006,03:40
Actually, mkwritable does not make the /etc directory writable, it alread IS writable.

However, there are two limitations to the existing configuration:

1) Many of the files require Super User ("root") authority in order to edit or delete them.
2) Many of the files are actually symbolic links (kinda like MS Window's "shortcuts" but better) that point to the real files.  The real files are located on the CDROM disk so they are read-only.

However, you can still fix this problem manually:

Open "Emelfm as Super User"
Go to the /etc directory.
DELETE the /etc/motd file link.
In the other window pane, go to /KNOPPIX/etc and copy the motd file over to /etc

To edit it, Right-Click on the file and choose User Edit in Beaver and you are in business.

Posted by Zucca on June 11 2006,18:20
Quote (humpty @ June 08 2006,17:16)
another way would be to copy the file and delete the sym-link.

I did that and it worked.

Some of the files are links to files in RO area.
That's why I couldn't change it.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.