index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Jaroslaw Swierczynski <swiergot@juvepoland.com> | 2008-01-13 15:06:25 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-13 18:42:26 -0600 |
commit | 801a26805663b0a79bf619a0fec853293806969b (patch) | |
tree | 5aa98bb51eca524bb9914dc9d86f25901b0741ae /lib/libalpm/trans.c | |
parent | 549c2878f965e5b6cb001ff3c8c5e3122becf8e1 (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 2 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 292c7160..ecc40a0f 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -487,7 +487,7 @@ int _alpm_runscriptlet(const char *root, const char *installfn, /* creates a directory in $root/tmp/ for copying/extracting the scriptlet */ snprintf(tmpdir, PATH_MAX, "%stmp/", root); if(stat(tmpdir, &buf)) { - _alpm_makepath(tmpdir); + _alpm_makepath_mode(tmpdir, 01777); } snprintf(tmpdir, PATH_MAX, "%stmp/alpm_XXXXXX", root); if(mkdtemp(tmpdir) == NULL) { |