fix permissions
This commit is contained in:
parent
31bd9f0e44
commit
3ed583ee60
2 changed files with 4 additions and 3 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -3,7 +3,7 @@
|
|||
|
||||
pkgname=garuda-common-settings
|
||||
pkgver=1.2.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('any')
|
||||
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
||||
license=('GPL')
|
||||
|
@ -36,6 +36,7 @@ package() {
|
|||
# Fix permissions
|
||||
chmod -R 750 $pkgdir/etc/sudoers.d/
|
||||
chmod -R 750 $pkgdir/etc/polkit-1/rules.d/
|
||||
chown -R root:polkitd $pkgdir/etc/polkit-1/rules.d
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ polkit.addRule(function(action, subject) {
|
|||
action.id == "org.corectrl.helperkiller.init") &&
|
||||
subject.isInGroup("wheel"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -92,6 +92,6 @@ polkit.addRule(function(action, subject) {
|
|||
action.id == "in.teejeetech.pkexec.timeshift") &&
|
||||
subject.isInGroup("wheel"))
|
||||
{
|
||||
return polkit.Result.YES;
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue