base-files: fix bad permissions on directories from void-installer

This commit is contained in:
Duncaen 2020-01-31 15:34:56 +01:00
parent aa1b170b34
commit 74c86a34b0
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35
2 changed files with 4 additions and 1 deletions

View file

@ -59,6 +59,9 @@ make_system_dirs() {
# remove leftover polkit rules from live systems # remove leftover polkit rules from live systems
[ -e etc/polkit-1/rules.d/void-live.rules ] && rm etc/polkit-1/rules.d/void-live.rules [ -e etc/polkit-1/rules.d/void-live.rules ] && rm etc/polkit-1/rules.d/void-live.rules
# fix bad permissions from installer with umask 077
chmod 755 var var/db var/db/xbps usr usr/share
} }
case "${ACTION}" in case "${ACTION}" in

View file

@ -1,7 +1,7 @@
# Template file for 'base-files' # Template file for 'base-files'
pkgname=base-files pkgname=base-files
version=0.140 version=0.140
revision=11 revision=12
bootstrap=yes bootstrap=yes
depends="xbps-triggers" depends="xbps-triggers"
short_desc="Void Linux base system files" short_desc="Void Linux base system files"