jsweedle@mipos2.intel.com (Jonathan Sweedler) (01/29/91)
I used "perl -pi" to edit a file in place. I had write permission for the file that I was working on but I did not have write permission for the directory in which it sat. The end result was that perl erased the file (changed it to length of 0) without giving any warning or error messages. =============================================================================== |Jonathan Sweedler Microprocessor Design Intel Corp.| | {decwrl,hplabs,oliveb}!intelca!mipos3!mipos2!jsweedle | | jsweedle%mipos2.intel.com@relay.cs.net |
lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (01/30/91)
In article <2162@inews.intel.com> jsweedle@mipos2.intel.com (Jonathan Sweedler) writes:
: I used "perl -pi" to edit a file in place. I had write permission for
: the file that I was working on but I did not have write permission for
: the directory in which it sat. The end result was that perl erased the
: file (changed it to length of 0) without giving any warning or error
: messages.
That was fixed in patch 44.
Larry