Summary: | sys-auth/policykit-0.9 must check that /var/lib/PolicyKit has correct permissions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexandre Rostovtsev (RETIRED) <tetromino> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexandre Rostovtsev (RETIRED)
2008-10-01 08:00:45 UTC
> /var/lib/PolicyKit must have mode 770 and be owned by root:policykit
Typo, I meant must have mode 770 and be owned by root:polkituser
Additionally, the ebuild should check that /var/run/PolicyKit is mode 770, owned by root:polkituser (again, older versions of policykit had /var/run/PolicyKit as mode 755, which leads to authorization failures after upgrading to policykit-0.9), ok I've pushed something to the overlay, without a bump. It should do the right thing if user had a <0.9 release installed. Please tell me if everything looks ok to you and reopen if it's not. Ebuild fails with this new check; it uses braces inside quotes, expecting the shell to expand the braces (when it doesn't.) chmod 0770 "${ROOT}var/{lib,run}/PolicyKit" || die "chmod failed" ^ ^ chgrp -R polkituser "${ROOT}var/{lib,run}/PolicyKit" || die "chgrp failed" ^ ^ Removing the quotes works fine, though I'm not sure if it's exactly proper... (In reply to comment #4) > Ebuild fails with this new check; it uses braces inside quotes, expecting the > shell to expand the braces (when it doesn't.) Fixed in the overlay without a bump (not sure if there _should've_ been a bump :p) |