Nextcloud-App/podman-reown.sh

12 lines
173 B
Bash
Raw Normal View History

2021-08-21 12:41:50 +00:00
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
DIR="${0%/*}"
podman unshare -- chown -R 33 "$DIR"
podman unshare -- chgrp -R 0 "$DIR"
podman unshare -- chmod -R ug+rw "$DIR"