From b1036f6e21d868d8e96055dd68cda2cfe98bc910 Mon Sep 17 00:00:00 2001 From: Jocelyn Le Sage Date: Tue, 18 Sep 2018 13:03:04 -0400 Subject: [PATCH] Make sure to set ownership on all files/folders, event hidden ones. --- rootfs/etc/cont-init.d/firefox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/cont-init.d/firefox.sh b/rootfs/etc/cont-init.d/firefox.sh index 8498d5d..660a5e5 100755 --- a/rootfs/etc/cont-init.d/firefox.sh +++ b/rootfs/etc/cont-init.d/firefox.sh @@ -61,6 +61,6 @@ do done # Take ownership of the config directory content. -chown -R $USER_ID:$GROUP_ID /config/* +find /config -mindepth 1 -exec chown $USER_ID:$GROUP_ID {} \; # vim: set ft=sh :