Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2017 19:17:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217104] sysutils/pefs-kmod: wrong perm when built with a normal user
Message-ID:  <bug-217104-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217104

            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@FreeBSD.org
          Reporter: mikael.urankar@gmail.com
             Flags: maintainer-feedback?(gleb@FreeBSD.org)
          Assignee: gleb@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217104-13>