+2.4.9 -> 2.4.10:
+ - obsolete entries could cause segv's during upgrades
+ - sources now installed with uid/gid of process rather then
+ the ids used when the src rpm was created
+
2.4.8 -> 2.4.9:
- fix for verification on systems where a single group id
maps to mulitiple group names (Benedict Lofstedt)
char * chptr;
char * currDir;
int currDirLen;
+ uid_t currUid = getuid();
+ gid_t currGid = getgid();
rpmMessage(RPMMESS_DEBUG, "installing a source package\n");
/* we can't remap v1 packages */
assembleFileList(h, &fileMem, &fileCount, &files, 0);
- for (i = 0; i < fileCount; i++)
+ for (i = 0; i < fileCount; i++) {
files[i].relativePath = files[i].relativePath;
+ files[i].uid = currUid;
+ files[i].gid = currGid;
+ }
if (headerIsEntry(h, RPMTAG_COOKIE))
for (i = 0; i < fileCount; i++)