• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Vi Editing Question

Basie

Senior member
How come I can rename etc/rc.d/init.d/smartd to smartdx
in a GUI editor like gedit or Kwrite but when I try to use a text editor such as Vi or Vim I get a
Can't make Changes Modifiable turned off error?
 
I just type at the Root Terminal prompt vi /etc/rc.d/init.d and scroll down to smartd and then enter :i for Insert and thats when I get the error message. I can from a Gui Editor open init.d folder and just
rename "smartd" fine but I would like to do it from a terminal because it's more convenient at times.
 
Well, after spending some serious time on this I finally gave up. No sooner I did this that I realized I could accomplish the same
thing by using the mv command as Root. Linux is so much fun at times.
 
You realy can't use Vi to edit directory files. It just doesn't work that way, most versions will error out if you try to open a directory.
 
Back
Top