Skip to content

Commit 7d473d7

Browse files
authored
lifecycle/ak: make sure /data has the correct permissions (#19935)
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
1 parent a7fb30a commit 7d473d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lifecycle

lifecycle/ak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ function check_if_root {
3535
GROUP="authentik:${GROUP_NAME}"
3636
fi
3737
# Fix permissions of certs and media
38-
chown -R authentik:authentik /media /certs "${PROMETHEUS_MULTIPROC_DIR}"
39-
chmod ug+rwx /media
38+
chown -R authentik:authentik /data /certs "${PROMETHEUS_MULTIPROC_DIR}"
39+
chmod ug+rwx /data
4040
chmod ug+rx /certs
4141
exec chpst -u authentik:$GROUP env HOME=/authentik $1
4242
}

0 commit comments

Comments
 (0)