[Bug 227273] net-mgmt/py-pdagent: wrong permissions on /var/db/pdagent directories

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 3 21:38:47 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227273

            Bug ID: 227273
           Summary: net-mgmt/py-pdagent: wrong permissions on
                    /var/db/pdagent directories
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: feld at FreeBSD.org
          Reporter: freebsd.org at neant.ro
          Assignee: feld at FreeBSD.org
             Flags: maintainer-feedback?(feld at FreeBSD.org)

Permissions on directories under /var/db/pdagent are set incorrectly making it
impossible to send alerts to PagerDuty unless user is either root or nobody.
Attempting to send something as a normal user results in:

Exception: Can't write to directory /var/db/pdagent/outqueue/tmp, please check
permissions


Here's the permissions taken from a CentOS install:
# find /var/lib/pdagent/ -type d -exec ls -dl {} \;
drwxr-xr-x. 5 pdagent pdagent 67 Mar 26 09:16 /var/lib/pdagent/
drwxr-xr-x. 6 pdagent pdagent 50 Apr  3 18:10 /var/lib/pdagent/outqueue
drwxr-x---. 2 pdagent pdagent 6 Sep 15  2017 /var/lib/pdagent/outqueue/err
drwxr-x-wx. 2 pdagent pdagent 6 Apr  3 18:10 /var/lib/pdagent/outqueue/pdq
drwxr-x---. 2 pdagent pdagent 12288 Apr  3 19:16 /var/lib/pdagent/outqueue/suc
drwxr-x-wx. 2 pdagent pdagent 6 Apr  3 18:10 /var/lib/pdagent/outqueue/tmp
drwxr-xr-x. 2 pdagent pdagent 49 Mar 26 09:16 /var/lib/pdagent/scripts
drwxrwxr-x. 2 pdagent pdagent 39 Apr  3 18:10 /var/lib/pdagent/db

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list