[Bug 217104] sysutils/pefs-kmod: wrong perm when built with a normal user

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 14 19:17:27 UTC 2017


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

            Bug ID: 217104
           Summary: sysutils/pefs-kmod: wrong perm when built with a
                    normal user
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gleb at FreeBSD.org
          Reporter: mikael.urankar at gmail.com
             Flags: maintainer-feedback?(gleb at FreeBSD.org)
          Assignee: gleb at FreeBSD.org

Hi,

I build my ports with a normal user, the port doesn't change the owner of
pam_pefs.so*:

ll work/stage/usr/local/lib/pam_pefs.so*
lrwxr-xr-x  1 mik  mik  uarch work/stage/usr/local/lib/pam_pefs.so@ ->
pam_pefs.so.6
-r--r--r--  1 mik  mik  uarch work/stage/usr/local/lib/pam_pefs.so.6

ll /usr/local/lib/pam_pefs.so
lrwxr-xr-x  1 mik  wheel  uarch pam_pefs.so@ -> pam_pefs.so.6
-r--r--r--  1 mik  wheel  uarch pam_pefs.so.6

My box won't reboot after that:
login: in openpam_check_desc_owner_perms(): /usr/local/lib/pam_pefs.so:
insecure ownership or permissions
login: in try_module(): /usr/local/lib/pam_pefs.so: Operation not permitted

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


More information about the freebsd-ports-bugs mailing list