summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--term/ChangeLog5
-rw-r--r--term/users.c5
2 files changed, 8 insertions, 2 deletions
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)