diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-12-05 22:19:59 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-12-05 22:19:59 +0000 |
commit | c7c0493a639fb1eb7f9c23fe7fa2d8b8124260a2 (patch) | |
tree | a674e25a3fe557c6dd272fb160bdacb563932901 | |
parent | d649344e19c5ee83b19d8b5e59a4c0835992553e (diff) |
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.
-rw-r--r-- | term/ChangeLog | 5 | ||||
-rw-r--r-- | term/users.c | 5 |
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) |