honging
06-27-2001, 01:08 AM
Hey, I have a pretty basic question... how do I edit some of the files which are denied to me via FTP (I get 550 permission denied error). I was trying to edit srm.conf in /etc/httpd/conf/
Thanks.
Thanks.
![]() | View Full Version : editing files? honging 06-27-2001, 01:08 AM Hey, I have a pretty basic question... how do I edit some of the files which are denied to me via FTP (I get 550 permission denied error). I was trying to edit srm.conf in /etc/httpd/conf/ Thanks. alpha 06-27-2001, 01:30 AM if im not mistaken, you can login through telnet or SSH and edit the file using pico... ex. pico smr.conf this considering that the account you're logged under has permissions to access/edit the file :) g'luck Chicken 06-27-2001, 11:20 PM ..the user such as 'root' :D jks 06-29-2001, 06:52 AM I would recommend using Emacs to edit files. Pico is just so... "DOSish" and limited. Emacs *rocks* - and it lets you check your email too :-) -- Jens Kristian Søgaard, Mermaid Consulting I/S, jens@mermaidconsulting.dk, http://www.mermaidconsulting.com/ huck 06-29-2001, 08:33 AM Be careful with PICO. I have noticed PICO to cause strange problems in files that have long lines. Also, sometimes in PICO it is hard to tell where line breaks are and are not. I would reccomend using a flavor of VI or Emacs. These tools are much more advanced and require more learning than PICO, but they offer a lot of useful features for editing files via the command line. cgisupp 07-01-2001, 02:23 AM Hey Huck, use pico -w filename, this turns off wordwrap and will fix the problem with lines wrapping in pico. - Bruce honging 07-01-2001, 06:20 PM Thanks everyone! I figured it out.. :) |