Re: Disturbing news..

Walter Hofmann
2001-03-28T12:51:21Z

On Wed, 28 Mar 2001, Jesse Pollard wrote:

> >Any idea?
>
> Sure - very simple. If the execute bit is set on a file, don't allow
> ANY write to the file. This does modify the permission bits slightly
> but I don't think it is an unreasonable thing to have.

And how exactly does this help?

fchmod (fd, 0666);
fwrite (fd, ...);
fchmod (fd, 0777);

Walter