pw keeps setting /etc/group to 0600

matt sendtomatt at gmail.com
Fri Nov 30 17:43:32 UTC 2012


On 11/17/12 07:24, Ryan Stone wrote:
> /etc/group is supposed to be world-reable, right?  Tools like groups or pw
> groupshow certainly seem to think so:
>
> [rstone at rstone-server ~]groups
> 1001 920
> [rstone at rstone-server ~]ls -l /etc/group
> -rw-------  1 root  0  482 Nov 14 21:02 /etc/group
> [rstone at rstone-server ~]sudo chmod a+r /etc/group
> Password:
> [rstone at rstone-server ~]groups
> rstone vboxusers
> [rstone at rstone-server ~]sudo pw groupadd foo
> [rstone at rstone-server ~]ls -l /etc/group
> -rw-------  1 root  0  494 Nov 17 10:19 /etc/group
> [rstone at rstone-server ~]
>
> I'm not sure what caused the regression.  I've been seeing the problem
> since I first installed -CURRENT on the machine a couple of weeks ago.
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
Interesting, I noticed my pw segfaulted twice on 'pw groupdel' twice out
of three groups deleted.

Not sure if related. I'm at r243502.

Matt


More information about the freebsd-current mailing list