On 2024-06-25 10:38, Kristian Nils Robin Morin wrote:
Check your file permissions against the user running geoserver in your container.

I solved by changing from mount to volume:

podman run -it -p 8080:8080 \
  --env SKIP_DEMO_DATA=true \
  --env INSTALL_EXTENSIONS=true --env STABLE_EXTENSIONS="wps" \
  --volume /root/my_data/data:/opt/geoserver_data:z \
  docker.osgeo.org/geoserver:2.25.2

The problem is not with the "standard" directory permissions but with the SElinux extensions running on the server and its additional permissions. :z at the end of the container path makes the difference.

https://blog.christophersmart.com/2021/01/31/podman-volumes-and-selinux/

Thank you
        maxx


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to