Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 23:44:55 -0500
From:      jhell <jhell@DataIX.net>
To:        Alex Povolotsky <tarkhil@webmail.sub.ru>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: FW: clientNatLookup: PF open failed: (13) Permission denied
Message-ID:  <alpine.BSF.2.00.1001092341530.12289@qvfongpu.qngnvk.ybpny>
In-Reply-To: <4B48E927.1030706@webmail.sub.ru>
References:  <4AEC4A6F65A84D258332A61EF5980850@john> <9a542da30912110411g6d332409h9db4664b73ee1153@mail.gmail.com> <4B48E065.8070307@webmail.sub.ru> <4B48E927.1030706@webmail.sub.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 9 Jan 2010 15:37, tarkhil@ wrote:
> On 01/09/10 23:00, Alex Povolotsky wrote:
>> Well, what is the proper way to chgrp squid /dev/pf and chmod g+r /dev/pf 
>> automatically? Nothing better than rc.local or patching 
>> /usr/local/etc/rc.d/squid?
>
> Quite simple; I should figure it out at once.
>
> use devd.conf
>
> Alex.
>

In /etc/devfs.rules

Something like:
[system=10]
add path 'pf'      mode 0660 group pfreader

And then in /etc/rc.conf

Add:
devfs_system_ruleset="system"

These are just examples but based on what I am using for some other 
devices.

Best of luck.

-- 

  Sat Jan  9 23:41:53 2010

  jhell




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1001092341530.12289>