summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7c1617b)
as /tmp is not a tmpfs by default and some file systems
(like ZFS) don't support O_TMPFILE
# default permissions are stricter than with file_set_contents
$perm = 0600 if !defined($perm);
# default permissions are stricter than with file_set_contents
$perm = 0600 if !defined($perm);
- my $dir = $opts{dir} // '/tmp';
+ my $dir = $opts{dir} // '/run';
my $mode = $opts{mode} // O_RDWR;
$mode |= O_EXCL if !$opts{allow_links};
my $mode = $opts{mode} // O_RDWR;
$mode |= O_EXCL if !$opts{allow_links};