diff --git a/DevOps/Infrastructure-Solutions/Container/Podman/migrate-compose-to-kubefiles.md b/DevOps/Infrastructure-Solutions/Container/Podman/migrate-compose-to-kubefiles.md index e29246d6..318aa20a 100644 --- a/DevOps/Infrastructure-Solutions/Container/Podman/migrate-compose-to-kubefiles.md +++ b/DevOps/Infrastructure-Solutions/Container/Podman/migrate-compose-to-kubefiles.md @@ -19,6 +19,22 @@ Get the pod name via `podman pod ls` and generate the Kubefile with: podman kube generate -f pod.kube.yaml ``` +### File permissions + +Get the current ids with `stat ` or `stat `. + +Give the permission to the podman user with `chown : ` or `chown -R : `. + +Use podman to change the permission to the uid and gid found with `stat`. + +```bash +podman unshare chown : + +# or + +podman unshare chown -R : +``` + ### Persistent Volume Claim Get the volume name via `podman volume ls` and generate the Kubefile with: