Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Bug in perl -pi (REPOST) Message-ID: <11221@jpl-devvax.JPL.NASA.GOV> Date: 29 Jan 91 21:00:12 GMT References: <2162@inews.intel.com> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 10 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