From 24c8d98b845dec4b4ed8ddc60fa88b46bc616db6 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Sat, 19 Oct 2024 09:32:27 +0200 Subject: [PATCH] The chown --reference also handles group, no need for separate chgrp. --- utils/populate-volume-from-template | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/populate-volume-from-template b/utils/populate-volume-from-template index 84a303c0..d619bf76 100755 --- a/utils/populate-volume-from-template +++ b/utils/populate-volume-from-template @@ -97,7 +97,6 @@ while [ -n "$VOLUME" ] ; do fi fi [ -e "$VOLUME/$f" ] || continue - chgrp -c -h --reference="$f" "$VOLUME/$f" chown -c -h --reference="$f" "$VOLUME/$f" [ -L "$VOLUME/$f" ] || chmod -c --reference="$f" "$VOLUME/$f" done