diff options
Diffstat (limited to 'term/users.c')
-rw-r--r-- | term/users.c | 5 |
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) |