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 UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller picture

Cisco UCS LSI MegaRAID 9271CV-8I SAS2308 PCIe SAS Internal RAID Controller

$28.00



ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture

ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID

$58.99



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$87.99



4 Bay RAID External Hard Drive Enclosure for 2.5/3.5

4 Bay RAID External Hard Drive Enclosure for 2.5/3.5" SATA HDD/SSD

$79.99



G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply picture

G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply

$99.99