Subject: problem with group writable files
To: None <current-users@NetBSD.ORG>
From: Laine Stump <laine@ascend.com>
List: current-users
Date: 06/11/1998 10:23:06
Running 1.3 and 1.3.1 on i386, we've found that we are no longer able to
write to files for which we have group permission but which are owned by
someone else, iff the group in question is the group given in the passwd
map of NIS.


An example:

# id
uid=123(laine) gid=10(staff) groups=10(staff),0(wheel),19(gdmaint),11(enable),17(mklicens),16(switch)
# ls -ld . local-phone-list     
drwxrwxr-x   8 lcs      staff         512 Jun 10 18:48 ./
-rw-rw-r--   1 steve    staff       40223 Jun 11 09:20 local-phone-list

# touch xxx
touch: xxx: Permission denied
# touch local-phone-list
touch: local-phone-list: Permission denied

(the first touch was to see if I could write to the directory).

If I change the gid of the file to "enable" (which comes through the NIS
group map), I can modify it just fine.

Anybody else see this? Solution? Is it fixed in -current?