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: Daniel
Subject: Re: Why emacs touches read-only file?
Date: 20 Apr 2007 00:00:57 -0700
User-agent: G2/1.0

On Apr 19, 7:28 pm, Tim X <t...@nospam.dev.null> wrote:
> Daniel <hanm...@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

I am running it as root, but the permission is read-only to root also.
Is there any problem?



reply via email to

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