File metadata is managed by your file server, so you need to add your groups to 
the file server first; simply editing /adm/users doesn't necessarily update the 
user table. See fs(8) for specifics.

2026年8月21日 6:48:15 JST、[email protected] より:
> Greetings.  This -should- be trivial.
> 
> I am going through "Introduction to Operating Systems Abstractions", which 
> you can find easy online.  On page 68, section 3.5, it gives a code to change 
> the group of a file.  The code works, in a manner of speaking.  If I try to 
> change the group of the file to something "legal", it works.  The problem is, 
> the group it changes the file to, "planb", is not a group on my system.  I'm 
> using 9legacy on qemu.
> 
> The internet has helped me find /adm/users , and I have used it to add 
> "planb".  [planb:planb::glenda]  However, having done that, saved, and 
> verified that the new group is there, using cat, the program still fails to 
> work.  "unknown gid".
> 
> more specifically:
> 
> chgrp: wstat: wstat -- unknown gid
> 
> Nothing critical here, just trying to be systematic in learning the new 
> system.  Help appreciated.

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9150ebcacf826b8c-M3b6f63f8a0267719e324cdb6
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to