Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/initcpio/install
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-11-14 11:43:13 +0200
committernl6720 <nl6720@gmail.com>2020-11-30 08:46:24 +0200
commit42d9e4f983e9dbafb94a6fc52df1b25973afb63a (patch)
tree7829f50747c432567aaaee0a51f5738524ae3ab6 /archiso/initcpio/install
parent2c99df5c9bb89308231a0281d3b8399bb06cc4c0 (diff)
Allow specifying ownership and mode of custom airootfs files and directories
profiledef.sh can now contain an associative array called file_permissions which can be used to set custom ownership and mode of custom airootfs files. The array's keys contain the path and the value is a colon separated list of owner UID, owner GID and access mode. For example: file_permissions=( ["/etc/shadow"]="0:0:400" ) This means that mkarchiso now copies airootfs files (and directores) without permissions and anything that should be owned by a user other than root and/or if the mode should be something other than 644 for files and 755 for directories must to be listed in ${file_permission[@]} in profiledef.sh. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/61 .
Diffstat (limited to 'archiso/initcpio/install')
0 files changed, 0 insertions, 0 deletions