help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why emacs touches read-only file?


From: Tim X
Subject: Re: Why emacs touches read-only file?
Date: Fri, 20 Apr 2007 12:28:18 +1000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

Daniel <hanmoai@gmail.com> writes:

> Hi all,
>
> 1. Create a file with permission of 444 (read-only) file.
> 2. Open the file using emacs.
>
> Question.
>
> My emacs open the read-only file as writable buffer. Also, I can
> modify it and save it. (AMAZING, emacs IGNORES unix file system. WOW.)
>
> What happened to the emacs, and how it works properly (open files as
> read-only if it is read-only, and as writable if it is writable.)
>
> Thank you,
>
> Dan.
>

doing the same thing with emacs 22 gives me a read only file. any attempt to
modify the file gives me a buffer is read only message. 

Your not running as root are you?

Tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]