11.1 - /etc/services permissions ?

Status
Not open for further replies.

vom

Dabbler
Joined
Nov 13, 2012
Messages
24
Hello all,

I just upgraded from 9.10 to 11.1 (U1) - and noticed that the 'ntpq' utility was failing with:

servname not supported for ai_socktype

Using truss - I see that it can't open /etc/services because:


[vom@freenas ~]$ ls -la /etc/services
-rw------- 1 root wheel 86187 Feb 16 22:29 /etc/services


Is there a reason /etc/services is 600 ? I don't think I've ever seen this before. Thanks for any info.
 

toadman

Guru
Joined
Jun 4, 2013
Messages
619
You can login as root I suppose. But good question on the change from 644.
 

vom

Dabbler
Joined
Nov 13, 2012
Messages
24
You can login as root I suppose. But good question on the change from 644.

Right - I can certainly sudo to run it - but I've never been on a Unix system where I didn't have permission as a normal user to read /etc/services. I think I'll open a bug.
 
Status
Not open for further replies.
Top