summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-02 15:17:55 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-02 15:17:55 +0000
commit0d8c4ade7a6d2330d1cfd6157325477eaae25dec (patch)
treeabf6c3a8a463256ea34da822e8b1cb6eb21ff9c2 /urpm.pm
parentd3185ee5a8ef16be330515d39af59703af991d4e (diff)
downloadurpmi-0d8c4ade7a6d2330d1cfd6157325477eaae25dec.tar
urpmi-0d8c4ade7a6d2330d1cfd6157325477eaae25dec.tar.gz
urpmi-0d8c4ade7a6d2330d1cfd6157325477eaae25dec.tar.bz2
urpmi-0d8c4ade7a6d2330d1cfd6157325477eaae25dec.tar.xz
urpmi-0d8c4ade7a6d2330d1cfd6157325477eaae25dec.zip
Set perms on partial downloads cache directory
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index cef48974..9bc58521 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2468,7 +2468,7 @@ sub get_source_packages {
if ($options{clean_all}) {
require File::Path;
File::Path::rmtree(["$urpm->{cachedir}/partial"]);
- mkdir "$urpm->{cachedir}/partial";
+ mkdir "$urpm->{cachedir}/partial", 0755;
}
foreach my $medium (@{$urpm->{media} || []}) {