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
  •  


Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK picture

Cisco SG110 8 Port Gigabit Ethernet Switch SG110D-08-UK

$39.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



HP Procurve 2824 24 Gigabit Ports 10/100/1000 External Managed Switch J4903A picture

HP Procurve 2824 24 Gigabit Ports 10/100/1000 External Managed Switch J4903A

$74.99



8 Ports Unmanaged Industrial Ethernet Switch Network Gigabit Ethernet Switch picture

8 Ports Unmanaged Industrial Ethernet Switch Network Gigabit Ethernet Switch

$85.00



New Linksys SE3005 5-port Gigabit Ethernet Switch picture

New Linksys SE3005 5-port Gigabit Ethernet Switch

$18.99



Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch picture

Linksys SE3008 8 Ports Rack Mountable Gigabit Ethernet Switch

$21.99



Netgear Prosafe GS724T V2 24-Port 10/100/1000 Gigabit Ethernet Network Switch  picture

Netgear Prosafe GS724T V2 24-Port 10/100/1000 Gigabit Ethernet Network Switch

$27.99



NetGear ProSafe GS748T V4 48-Port Gigabit Smart Switch w/ Ears + Cord picture

NetGear ProSafe GS748T V4 48-Port Gigabit Smart Switch w/ Ears + Cord

$30.00



Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch picture

Netgear ProSafe S3300-52X-POE+ 48-Port Gigabit PoE+ Stackable Network Switch

$99.99



Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED picture

Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED

$99.97