Results 1 to 4 of 4

Thread: Trying to edit file onn hdd.

  1. #1
    Junior Member
    Join Date
    Feb 2004
    Location
    Norway
    Posts
    1

    Trying to edit file onn hdd.

    My problem startet with my RedHat 9 server, i edited the file "/etc/rc.local".

    Then the server began doing some strange things and after some time i did not gett accses to the server any more. So what i need to do is edit this file inn Knoppix. But when i edit "rc.local" inn vim i get this message when i try to save the file "E45: 'readonly' optin is set <use ! to override>", i tried to to chmod 755 the file too, then i get this "chmod: changing premissions of `rc.local': Read-only file system".


    So can anyone pleease tell me what to do ?
    Or why i cant edit this file inn Knoppix ?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Why are you trying to edit /etc/rc.local?

    Who are you trying to edit it as?

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479

    Re: Trying to edit file onn hdd.

    Quote Originally Posted by CyberInzane
    My problem startet with my RedHat 9 server, i edited the file "/etc/rc.local".

    Then the server began doing some strange things and after some time i did not gett accses to the server any more. So what i need to do is edit this file inn Knoppix. But when i edit "rc.local" inn vim i get this message when i try to save the file "E45: 'readonly' optin is set <use ! to override>", i tried to to chmod 755 the file too, then i get this "chmod: changing premissions of `rc.local': Read-only file system".


    So can anyone pleease tell me what to do ?
    Or why i cant edit this file inn Knoppix ?
    Are you using sudo in front of the command to edit the file as super user (root)?

  4. #4
    Junior Member
    Join Date
    Feb 2004
    Posts
    7
    Is the problem that the partition and/or folder holding this file is protected?

    not the most secure solution but you could do a
    Code:
    chmod -R
    to the whole partition.

Similar Threads

  1. Which file to edit for configuring LAN
    By leenux in forum Networking
    Replies: 5
    Last Post: 12-08-2004, 04:49 AM
  2. edit knoppix-autoconfig changes file sys to RO ?
    By bigal2000 in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 07-07-2004, 04:53 PM
  3. how can i edit a "read only" file (/etc/*.conf)
    By t0rp3d0 in forum General Support
    Replies: 1
    Last Post: 07-29-2003, 09:48 PM
  4. you will need to edit the file "/etc/lilo.conf"
    By pat reen in forum General Support
    Replies: 3
    Last Post: 07-02-2003, 02:13 AM
  5. How to edit the contents of .tbz file
    By probono in forum General Support
    Replies: 6
    Last Post: 03-19-2003, 08:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage Memorex Power Center TVSS 1449 PC-0061 -3202-2184 Surge Protector Works picture

Vintage Memorex Power Center TVSS 1449 PC-0061 -3202-2184 Surge Protector Works

$22.00



Vintage Compaq Retro 8 bit ISA I/O Controller Card Serial Parallel 109866-001 picture

Vintage Compaq Retro 8 bit ISA I/O Controller Card Serial Parallel 109866-001

$20.00



Vintage Atari 1050 5.25

Vintage Atari 1050 5.25" External Disk Drive - No Power Supply or Cables

$69.99



Vintage Dell Motherboard Bluford E139765 P/N 41172610004 CN-0G1548 For Parts picture

Vintage Dell Motherboard Bluford E139765 P/N 41172610004 CN-0G1548 For Parts

$10.00



Vintage 1996 APPLE INTERNET CONNECTION KIT Disc For 7.5 Version 1.1 picture

Vintage 1996 APPLE INTERNET CONNECTION KIT Disc For 7.5 Version 1.1

$5.99



Vintage SMC 8013EPC 61-600406-002 ISA Network Adapter (Quantity) #111 picture

Vintage SMC 8013EPC 61-600406-002 ISA Network Adapter (Quantity) #111

$18.00



Typing Tutor 5+ For Macintosh Mac Apple Rare Floppy Vintage Big Box Cue Software picture

Typing Tutor 5+ For Macintosh Mac Apple Rare Floppy Vintage Big Box Cue Software

$49.95



Vintage Socket 7 Motherboard Ver C07 9N803681766 Untested picture

Vintage Socket 7 Motherboard Ver C07 9N803681766 Untested

$15.00



Vintage Socket462 Motherboard Santafe-KM 010319 For Parts picture

Vintage Socket462 Motherboard Santafe-KM 010319 For Parts

$12.00



Vintage MORROW DESIGNS MD2 Micro Decision ADM20 Monitor Terminal Retro Computer picture

Vintage MORROW DESIGNS MD2 Micro Decision ADM20 Monitor Terminal Retro Computer

$399.99