Skip to content

Commit 7b95c71

Browse files
committed
chown the root of /config and files non-recursive
1 parent 55e1964 commit 7b95c71

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

root/etc/cont-init.d/40-chown-files

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,8 @@ if [ ! "$(stat -c %u /config/Library)" = "$PUID" ]; then
1414
chown abc:abc -R \
1515
/config/Library
1616
fi
17+
18+
# permissions (non-recursive) on config root and folders
19+
chown abc:abc \
20+
/config \
21+
/config/*

0 commit comments

Comments
 (0)