Skip to content

Commit

Permalink
The chown --reference also handles group, no need for separate chgrp.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelton committed Oct 19, 2024
1 parent 6cef380 commit 24c8d98
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/populate-volume-from-template
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24c8d98

Please sign in to comment.