From 6bb12552e4c5351bf5c7c839e75d6bb77c0f7cc6 Mon Sep 17 00:00:00 2001 From: Michael Gilchrist Date: Sun, 21 Mar 2021 14:00:13 +0000 Subject: Recursively change file permissions for folders listed in profiledef.sh - if a folder listed in the associative array ends with a "/", recursively apply chmod and chown. --- README.profile.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.profile.rst') diff --git a/README.profile.rst b/README.profile.rst index 7680628..c22e7bb 100644 --- a/README.profile.rst +++ b/README.profile.rst @@ -55,7 +55,7 @@ The image file is constructed from some of the variables in **profiledef.sh**: ` `('-comp' 'xz')` for squashfs). * `file_permissions`: An associative array that lists files and/or directories who need specific ownership or permissions. The array's keys contain the path and the value is a colon separated list of owner UID, owner GID and - access mode. E.g. `file_permissions=(["/etc/shadow"]="0:0:400")`. + access mode. E.g. `file_permissions=(["/etc/shadow"]="0:0:400")`. When directories are listed with a trailing backslash ("/") **all** files and directories contained within the listed directory will have the same owner UID, owner GID, and access mode applied recursively. packages.arch ============= -- cgit v1.2.3-70-g09d2