~mdw
/
tgal
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mason/.perl-lib/TrivGal.pm: Make cache directories world-unreadable.
[tgal]
/
mason
/
.perl-lib
/
TrivGal.pm
diff --git
a/mason/.perl-lib/TrivGal.pm
b/mason/.perl-lib/TrivGal.pm
index
50c2f45
..
e97ffb6
100644
(file)
--- a/
mason/.perl-lib/TrivGal.pm
+++ b/
mason/.perl-lib/TrivGal.pm
@@
-260,9
+260,9
@@
package TrivGal::Image {
$scaled->image_set_format($ty->imlibfmt);
$scaled->set_quality(90);
my $new = "$TMP/t$$-$ext";
$scaled->image_set_format($ty->imlibfmt);
$scaled->set_quality(90);
my $new = "$TMP/t$$-$ext";
- make_path $TMP;
+ make_path $TMP
, { mode => 0771 }
;
$scaled->save($new);
$scaled->save($new);
- make_path $dir;
+ make_path $dir
, { mode => 0771 }
;
rename $new, $thumb;
return $thumburl;
}
rename $new, $thumb;
return $thumburl;
}