Date: Thu, 6 Sep 2012 05:16:18 GMT From: Rajkumar <rajkumars@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/171367: Py-PF gives IOError: [Errno 13] Permission denied while trying to get_ruleset Message-ID: <201209060516.q865GIcC026334@red.freebsd.org> Resent-Message-ID: <201209060520.q865K3p1007970@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171367 >Category: ports >Synopsis: Py-PF gives IOError: [Errno 13] Permission denied while trying to get_ruleset >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 06 05:20:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Rajkumar >Release: 9.0-STABLE >Organization: >Environment: FreeBSD freebsd9 9.0-STABLE FreeBSD 9.0-STABLE #2 r232865M: Wed Mar 14 12:57:33 IST 2012 root@freebsd9:/usr/obj/usr/src/sys/GENERIC i386 >Description: While trying to run py-PF port in FreeBSD-9 I am getting a permission error. The sequence of commands is as follows: freebsd9# python Python 2.7.2 (default, Mar 12 2012, 14:37:14) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9 Type "help", "copyright", "credits" or "license" for more information. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: >>> import PF >>> filter = PF.PacketFilter() >>> filter.get_ruleset() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/PF/PacketFilter.py", line 558, in get_ruleset rs.append(*self._get_rules(path, d, clear)) File "/usr/local/lib/python2.7/site-packages/PF/PacketFilter.py", line 532, in _get_rules ioctl(dev, DIOCGETRULES, pr.asBuffer()) IOError: [Errno 13] Permission denied
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209060516.q865GIcC026334>