Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/add.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-20 17:38:56 -0400
committerDan McGee <dan@archlinux.org>2007-06-20 17:38:56 -0400
commitf372a542b9f37b7e36cc3419bf14b5c4e8fbb94c (patch)
treeda87d8d84b10eaef5834c3c360712ac285abcbdc /lib/libalpm/add.c
parentcacf968970bbc63e8eb519e40194e6c083ba6a06 (diff)
Revert "Fix libarchive permission extraction"
This was a bad way to fix a problem upstream. Doing this resulted in symlink permissions being applied to files installed on the system, leaving some binaries with 77 permission, etc. This reverts commit 4e6b7c1cde4c0ac1d035b51f9af19510a7c9135e.
Diffstat (limited to 'lib/libalpm/add.c')
-rw-r--r--lib/libalpm/add.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index 9ffc8349..8ccf4a37 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -696,8 +696,6 @@ int _alpm_add_commit(pmtrans_t *trans, pmdb_t *db)
_alpm_log(PM_LOG_ERROR, _("could not extract %s (%s)"), filename, strerror(errno));
alpm_logaction(_("error: could not extract %s (%s)"), filename, strerror(errno));
errors++;
- } else {
- chmod(filename, archive_entry_mode(entry));
}
/* calculate an hash if this is in newpkg's backup */