index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-01-14 22:58:44 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-14 22:58:44 -0600 |
commit | 38e981fab3f901e6c932e2f2913790ef0b96c6c2 (patch) | |
tree | 1dcf8610529b51626780b3666455f72858361828 /lib/libalpm/trans.c | |
parent | 521de7ceedc6e4f5df52c0380f536a6f13a7f578 (diff) | |
parent | a0ac72b42219fbcf17dd7cf2ee992b71a6a1375a (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) { |