This is an automated email from the ASF dual-hosted git repository.
snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 980d106b regtests: fix file permissions issue with `podman compose`
(attempt 2) (#357)
980d106b is described below
commit 980d106be9ce77debd8a21e5b4434d3d96a3356d
Author: Alexandre Dutra <[email protected]>
AuthorDate: Fri Oct 11 15:44:20 2024 +0200
regtests: fix file permissions issue with `podman compose` (attempt 2)
(#357)
---
regtests/Dockerfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/regtests/Dockerfile b/regtests/Dockerfile
index cfff9932..b0598aea 100644
--- a/regtests/Dockerfile
+++ b/regtests/Dockerfile
@@ -50,6 +50,8 @@ RUN ./setup.sh
COPY --chown=spark . /home/spark/regtests
# /home/spark/regtests might not be writable in all situations, see
https://github.com/apache/polaris/pull/205
+USER root
RUN chmod -R go+rwx /home/spark/regtests
+USER spark
CMD ["./run.sh"]