in reply to Re^2: Writing to a file atomically without renaming
in thread Writing to a file atomically without renaming
Modify IO::AtomicFile's source --
-Waswas
Where uid,and gid are static for this app or dynamically built somehow or passed to your version of IO::AtomicFile... chown $uid, $gid, "tempfileChange: ### Open the file! Returns filehandle on success, for use as a constr +uctor: $self->SUPER::open($temp, $mode) ? $self : undef; To: ### Open the file! Returns filehandle on success, for use as a constr +uctor: $self->SUPER::open($temp, $mode) ? $self : undef; chown $uid, $gid, $temp;
-Waswas
|
---|
In Section
Seekers of Perl Wisdom