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 4e6b7c1cde.
This commit is contained in:
Dan McGee 2007-06-20 17:38:56 -04:00
parent cacf968970
commit f372a542b9
1 changed files with 0 additions and 2 deletions

View File

@ -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 */