From c7c0493a639fb1eb7f9c23fe7fa2d8b8124260a2 Mon Sep 17 00:00:00 2001
From: Thomas Bushnell <thomas@gnu.org>
Date: Thu, 5 Dec 1996 22:19:59 +0000
Subject: 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.
---
 term/ChangeLog | 5 +++++
 term/users.c   | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

(limited to 'term')

diff --git a/term/ChangeLog b/term/ChangeLog
index d1bbc74b..752ede6c 100644
--- a/term/ChangeLog
+++ b/term/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 Mon Nov 18 18:16:29 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
 
 	* users.c (trivfs_modify_stat): Omit pointless assignment.
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)
-- 
cgit v1.2.3