You can edit read-only files in Emacs using the command toggle-read-only.
Type "M-x toggle-read-only" where M-x is likely Alt-x.  Off course, you
cannot write to the file if you don't own it.

Mike

> -----Original Message-----
> From: tclug-list-admin at mn-linux.org
> [mailto:tclug-list-admin at mn-linux.org]On Behalf Of mcolivier
> Sent: Saturday, November 24, 2001 8:47 AM
> To: tclug-list at mn-linux.org
> Subject: [TCLUG] Emacs and editing read-only configuration files
>
>
> Hello.
> I want to edit some configuation files to see if I can get SAMBA
> to work. I
> have leanred to use Emacs, but I can't actually edit the
> configuration file,
> as it says I can do in the tutorial, because the configuratin file
> (/etc/samba/smb.conf) is a read-only file. I've tried gettinginto
> Emacs from
> root, but I get weird error messages.
>
> The same kind of thing happens when I try to use Comanche to configure
> Apache. All of this is happening off of SuSE Linux 7.3. Any suggestions?
> Also, at the upcoming Installfest, is there likely to be anyone
> there to help
> me load and unload the hardware, as I will be there by myself.
>
> Marc Olivier
> (See, I like linux so much I'm using kmail!)
>
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St.
> Paul, Minnesota
> http://www.mn-linux.org
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list