diff options
author | Jim Meyering <jim@meyering.net> | 1998-01-02 23:16:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-01-02 23:16:38 +0000 |
commit | 2fb86e2eb854e84231c9dbbeaf47caf21d75dba1 (patch) | |
tree | e3e6a34d3750cb07b0fca0cb4798e738004e72ce /src/install.c | |
parent | 53bc7b04cba662f9e2f020f45b08a8a8c80ef0e9 (diff) | |
download | coreutils-2fb86e2eb854e84231c9dbbeaf47caf21d75dba1.tar.xz |
(get_ids): When otherwise unspecified, set uid and gid to -1.
Diffstat (limited to 'src/install.c')
-rw-r--r-- | src/install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install.c b/src/install.c index 4dc8716d5..470da79a7 100644 --- a/src/install.c +++ b/src/install.c @@ -607,7 +607,7 @@ get_ids (void) endpwent (); } else - owner_id = getuid (); + owner_id = (uid_t) -1; if (group_name) { @@ -625,7 +625,7 @@ get_ids (void) endgrent (); } else - group_id = getgid (); + group_id = (gid_t) -1; } static void |