summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-20 23:38:56 +0200
committerDan McGee <dan@archlinux.org>2007-06-20 23:38:56 +0200
commitf372a542b9f37b7e36cc3419bf14b5c4e8fbb94c (patch)
treeda87d8d84b10eaef5834c3c360712ac285abcbdc
parentcacf968970bbc63e8eb519e40194e6c083ba6a06 (diff)
downloadpacman-f372a542b9f37b7e36cc3419bf14b5c4e8fbb94c.tar.gz
pacman-f372a542b9f37b7e36cc3419bf14b5c4e8fbb94c.tar.xz
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.
-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 */