summaryrefslogtreecommitdiff
path: root/pcr/lynis/lynis.install
blob: abdb081f1b276a2184393f55fa8303b4362cd573 (plain)
1
2
3
4
5
6
7
8
pre_upgrade() {
  chmod -R o= /usr/share/lynis
  chmod 0755 /usr/share/lynis
  # fix non-test includes to let lynis run as user but complain gracefully
  chmod o+rx /usr/share/lynis/include
  chmod o+r /usr/share/lynis/include/*
  chmod o-r /usr/share/lynis/include/tests_*
}