fixed problem in group assignments
authorewt <devnull@localhost>
Fri, 20 Sep 1996 14:40:57 +0000 (14:40 +0000)
committerewt <devnull@localhost>
Fri, 20 Sep 1996 14:40:57 +0000 (14:40 +0000)
CVS patchset: 1034
CVS date: 1996/09/20 14:40:57

lib/install.c

index 23fcd82..a9bbca7 100644 (file)
@@ -881,7 +881,7 @@ static int setFileOwner(char * file, char * owner, char * group,
        } else {
            gid = grent->gr_gid;
            if (lastGroup) free(lastGroup);
-           lastGroup = strdup(owner);
+           lastGroup = strdup(group);
            lastGID = gid;
        }
     }