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
  •  


LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture

LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module

$89.00



New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module picture

New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module

$69.99



10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module picture

10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module

$85.00



New Cisco w/ Green Hologram SFP-10G-LR-S 10G SFP+ LR 1310nm 10km SMF LC Module picture

New Cisco w/ Green Hologram SFP-10G-LR-S 10G SFP+ LR 1310nm 10km SMF LC Module

$34.99



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02 picture

SFP-10G-SR Original Cisco 10GBASE-SR SFP+ V02 Multi mode Transceiver 10-2415-02

$5.00



NEW FS SFP-10G-T 10GBASE T SFP+ 30M Transceiver Module (Lot of 1) picture

NEW FS SFP-10G-T 10GBASE T SFP+ 30M Transceiver Module (Lot of 1)

$39.95



Arista 10G SFP-10G-SR 10GB 850nm SFP+ Transceiver XVR-00001-02 600pcs LikeNEW picture

Arista 10G SFP-10G-SR 10GB 850nm SFP+ Transceiver XVR-00001-02 600pcs LikeNEW

$10.50



New Cisco w/ Green Hologram GLC-TE 1G SFP Copper RJ45 100m Module picture

New Cisco w/ Green Hologram GLC-TE 1G SFP Copper RJ45 100m Module

$29.99



Genuine Dell Broadcom 57840S 10GbE Quad Port SFP+ Network Adapter JC10M XGRFF picture

Genuine Dell Broadcom 57840S 10GbE Quad Port SFP+ Network Adapter JC10M XGRFF

$39.59