12 lines
173 B
Bash
12 lines
173 B
Bash
|
#!/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"
|
||
|
|