Summary: | x11/kde4-workspace: installs kcheckpass with insufficient perms | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Matthias Apitz <guru> |
Component: | Individual Port(s) | Assignee: | Chris Rees <crees> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | bdrewery, crees, groot, guru, jhb |
Priority: | --- | Keywords: | easy, needs-patch, regression |
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(kde) koobs: merge-quarterly? |
Hardware: | Any | ||
OS: | Any |
Description
Matthias Apitz
2016-07-19 10:15:13 UTC
I just built kde4-workspace out of area51-trunk, and the permissions are as described; official package dated may 15 2015 has different permissions on kcheckpass in the packaged txz. Adding a "me-too". I was able to unlock my desktop by 'chmod u+s' of kcheckpass over an SSH session thankfully. Latest poudriere-devel has BUILD_AS_NON_ROOT=yes as default which may be exposing the problem. The official package builds do not use this yet. So there is a missing @mode or (mode) modifier in the pkg-plist. Untested possible fix: Index: pkg-plist =================================================================== --- pkg-plist (revision 421134) +++ pkg-plist (working copy) @@ -229,7 +229,7 @@ lib/kde4/libexec/fontinst lib/kde4/libexec/fontinst_helper lib/kde4/libexec/fontinst_x11 -lib/kde4/libexec/kcheckpass +@(root,wheel,6755) lib/kde4/libexec/kcheckpass lib/kde4/libexec/kcmdatetimehelper lib/kde4/libexec/kcmkdmhelper lib/kde4/libexec/kdm_config (Though I found that for me simply u+s was enough without also requiring g+s) Testing jhb's patch. A commit references this bug: Author: crees Date: Fri Sep 2 06:59:23 UTC 2016 New revision: 421252 URL: https://svnweb.freebsd.org/changeset/ports/421252 Log: Correct permissions on kcheckpass Without this, if the port is staged as non-root (default on new poudriere), the file is installed without setuid root and fails to unlock desktops. PR: ports/211218 Submitted by: jhb Approved by: maintainer timeout (kde, 2 months) Changes: head/x11/kde4-workspace/Makefile head/x11/kde4-workspace/pkg-plist Committed. Thanks! |