Re: pw keeps setting /etc/group to 0600

From: matt <sendtomatt_at_gmail.com>
Date: Fri, 30 Nov 2012 09:42:57 -0800
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
Received on Fri Nov 30 2012 - 16:43:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC