From cc8e3991c57405315ccb75a8d58457d6c34cb576 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Mar 18 2023 12:05:44 +0000 Subject: Simple change for dynamic user id in instructions to use jekyll Signed-off-by: Fabian Arrotin --- diff --git a/README.md b/README.md index 3cac201..2a7d06b 100644 --- a/README.md +++ b/README.md @@ -36,9 +36,9 @@ Let's first clone git repo and ensure that some files in container will be owned for i in .jekyll-cache vendor vendor/bundle _site ; do podman unshare mkdir -p ${git_directory}/centos.org/${i} - podman unshare chown -R 1000:1000 ${git_directory}/centos.org/${i} + podman unshare chown -R $(id -u):$(id -u) ${git_directory}/centos.org/${i} done - podman unshare chown -R 1000:1000 ${git_directory}/centos.org/Gemfile.lock + podman unshare chown -R $(id -u):$(id -u) ${git_directory}/centos.org/Gemfile.lock popd Let's now for the first time launch jekyll: