On 03/08/2011 Mark wrote > Rekhesh Mohan wrote: > >Now here is something that spoiled my sleep: I wrote a small test > >program to call getgrgid(), and it prints getgrgid()->gr_name = www. > >When I added a print statement inside common.c, I get > >getgrgid()->gr_name = null (it goes to http error log, since http > >headers are not defined at this stage of the code). > > What are the permissions on /etc/group? Is it world readable?
Hi people, Issue is solved, after some help from freebsd-hackers list. /etc had 750 permissions. I was too busy looking into /etc and forgot to look above the directory (or probably I'm growing too old for this kind of stuff) :) Thanks again, everyone..! --R ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org