Current-Users archive

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

Re: [PATCH] nvi to dont open dirs



Christos Zoulas wrote:

> In article <200812201857.53498.sverre%viewmark.com@localhost>,
> Sverre Froyen  <sverre%viewmark.com@localhost> wrote:
> >On Saturday 20 December 2008, Adam Hoka wrote:
> >> Hi!
> >>
> >> I think this patch wont cause any harm, but I think its better to ask.
> >> Anyone objects this? Basically this wont let nvi open a directory for
> >> "editing". I happen to open dirs accidentaly. :-)
> >
> >Personally, I'd like to see the ability to open directories preserved.  
> >There 
> >may be good reasons to avoid writing to a directory.  If so, perhaps that 
> >could be prevented.
> >
> 
> The kernel prevents that. I am opposed to the patch too, because it is
> behavior changing, and reading a directory is not harmful.
> 
> christos
> 

And when is it useful to open a directory with vi?

--
When in doubt, use brute force.

Adam Hoka <ahoka%NetBSD.org@localhost>
Adam Hoka <ahoka%MirBSD.de@localhost>
Adam Hoka <adam.hoka%gmail.com@localhost>

Attachment: pgp7B5b8oWt5m.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index