summaryrefslogtreecommitdiff
path: root/lib/fsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fsm.c')
-rw-r--r--lib/fsm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fsm.c b/lib/fsm.c
index ecfb1f703..835061f9a 100644
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -722,8 +722,8 @@ static int fsmMapAttrs(FSM_t fsm)
mode_t finalMode = (fi->fmodes ? fi->fmodes[i] : perms);
dev_t finalRdev = (fi->frdevs ? fi->frdevs[i] : 0);
rpm_time_t finalMtime = (fi->fmtimes ? fi->fmtimes[i] : 0);
- uid_t uid = fi->uid;
- gid_t gid = fi->gid;
+ uid_t uid = 0;
+ gid_t gid = 0;
if (fi->fuser && unameToUid(fi->fuser[i], &uid)) {
if (fsm->goal == FSM_PKGINSTALL)