develooper Front page | perl.perl5.porters | Postings from November 2008

Re: [perl #60904] Race condition with perl -i.bk

Thread Previous
From:
Eric Brine
Date:
November 29, 2008 09:01
Subject:
Re: [perl #60904] Race condition with perl -i.bk
Message ID:
f86994700811290900j7e611f5fwe428748962c1467a@mail.gmail.com
On Fri, Nov 28, 2008 at 12:18 PM, skasal@redhat.com (via RT) <
perlbug-followup@perl.org> wrote:

> # New Ticket Created by  skasal@redhat.com
> # Please include the string:  [perl #60904]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60904 >



> This means that the new file is created using the final filename "foo"
> (which is predictable) and with mode 666 (modulo umask), which means
> the file is group or even world writable.


Only if the umask is set to allow it.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About