summaryrefslogtreecommitdiff
path: root/build/parsePrep.c
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2015-04-23 16:24:55 +0200
committerFlorian Festi <ffesti@redhat.com>2015-04-23 16:29:03 +0200
commit916d528b0bfcb33747e81a57021e01586aa82139 (patch)
tree2f550175d4548797a10e8352fddb655b767a85a2 /build/parsePrep.c
parenta817b246330780902eaed12633ce9282ef715fd9 (diff)
downloadrpm-916d528b0bfcb33747e81a57021e01586aa82139.tar.gz
Use user and group of the rpmbuild process or root for sources
if a file does not have a valid user or group name. No longer issue an error if source files (including the spec file and patches) have an invalid owner or group id set.
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r--build/parsePrep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index 4a308a560..5e316208a 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -29,10 +29,6 @@ static rpmRC checkOwners(const char * urlfn)
urlfn, strerror(errno));
return RPMRC_FAIL;
}
- if (!rpmugUname(sb.st_uid) || !rpmugGname(sb.st_gid)) {
- rpmlog(RPMLOG_ERR, _("Bad owner/group: %s\n"), urlfn);
- return RPMRC_FAIL;
- }
return RPMRC_OK;
}