summarylogtreecommitdiffstats
path: root/informant.install
diff options
context:
space:
mode:
authorBradford Smith2020-01-15 21:45:21 -0500
committerBradford Smith2020-01-15 21:45:21 -0500
commit54135b0194dbf97d430737040a7af3f297ff24c5 (patch)
treee147e11f602bf83102e4732d9727649ea92b45e4 /informant.install
parenta791868846326c3b3492ad18521fd8576dc7607f (diff)
downloadaur-54135b0194dbf97d430737040a7af3f297ff24c5.tar.gz
Add permissions change to cache file
Forgot to update permissions for the group to work right.
Diffstat (limited to 'informant.install')
-rw-r--r--informant.install5
1 files changed, 3 insertions, 2 deletions
diff --git a/informant.install b/informant.install
index c950fac6f4db..33493a403a03 100644
--- a/informant.install
+++ b/informant.install
@@ -1,7 +1,8 @@
post_install() {
groupadd informant
- touch var/cache/informant.dat
- chgrp informant var/cache/informant.dat
+ touch /var/cache/informant.dat
+ chgrp informant /var/cache/informant.dat
+ chmod 664 /var/cache/informant.dat
printf 'NOTE: Add yourself to group "informant" to avoid the need for sudo'
}