Skip to content

Commit 535a93e

Browse files
authored
fix(docker): fix chown calls in docker-entry (#163)
The UID and GUID were switched round.
1 parent 4d3f1fa commit 535a93e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-entry

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ USERNAME=wrtag
1010

1111
adduser -D -u "$PUID" -g "$PGID" "$USERNAME" 2>/dev/null
1212

13-
[ -d "/data" ] && chown -R "$PGID:$PUID" /data
14-
[ -d "/config" ] && chown -R "$PGID:$PUID" /config
13+
[ -d "/data" ] && chown -R "$PUID:$PGID" /data
14+
[ -d "/config" ] && chown -R "$PUID:$PGID" /config
1515

1616
exec su-exec "$PUID:$PGID" "$@"

0 commit comments

Comments
 (0)