1
0
Fork 0
mirror of synced 2024-12-22 08:11:08 -05:00

fix permissions

This commit is contained in:
Shrinivas Vishnu Kumbhar 2021-04-06 15:35:51 +05:30
parent 31bd9f0e44
commit 3ed583ee60
2 changed files with 4 additions and 3 deletions

View file

@ -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
}

View file

@ -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;
}
});