From f372a542b9f37b7e36cc3419bf14b5c4e8fbb94c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 20 Jun 2007 17:38:56 -0400 Subject: 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. --- lib/libalpm/add.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libalpm') 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 */ -- cgit v1.2.3-24-g4f1b