I have "hit" this "same" problem,
at Debian squeeze and nvi version 1.81.6-8.1 :
Using  nview  opens the file readonly but then re-opens it read/write,
as seen with commands:
  echo abc > txt
  strace -oout nview txt        # use :q to quit
  grep txt out                  # shows (amongst other things):
    open("txt", O_RDONLY|O_LARGEFILE)       = 4
    open("txt", O_RDWR)                     = 4
(which is the same sequence that nvi would do).
This causes execution of various, e.g. CGI, scripts fail while the owner
is just viewing the source.

Cheers, Paul

Paul Szabo   [email protected]   http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics   University of Sydney    Australia



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to