aboutsummaryrefslogtreecommitdiff
path: root/term/users.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-12-05 22:19:59 +0000
committerThomas Bushnell <thomas@gnu.org>1996-12-05 22:19:59 +0000
commitc7c0493a639fb1eb7f9c23fe7fa2d8b8124260a2 (patch)
treea674e25a3fe557c6dd272fb160bdacb563932901 /term/users.c
parentd649344e19c5ee83b19d8b5e59a4c0835992553e (diff)
downloadhurd-c7c0493a639fb1eb7f9c23fe7fa2d8b8124260a2.tar.gz
hurd-c7c0493a639fb1eb7f9c23fe7fa2d8b8124260a2.tar.bz2
hurd-c7c0493a639fb1eb7f9c23fe7fa2d8b8124260a2.zip
Sat Nov 23 16:28:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* users.c: Include <hurd/iohelp.h>. (trivfs_S_file_chmod): Bother to fill in ST.
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/term/users.c b/term/users.c
index 44a2641d..8835204d 100644
--- a/term/users.c
+++ b/term/users.c
@@ -28,6 +28,7 @@
#include <cthreads.h>
#include <hurd.h>
#include <stdio.h>
+#include <hurd/iohelp.h>
#include "ourmsg_U.h"
@@ -471,8 +472,8 @@ trivfs_S_file_chmod (struct trivfs_protid *cred,
if (!cred->isroot)
{
/* XXX */
- st.st_uid;
- st.st_gid;
+ st.st_uid = term_owner;
+ st.st_gid = term_group;
err = fshelp_isowner (&st, cred->user);
if (err)