Skip to content

Commit 0cbf6ab

Browse files
authored
Merge pull request #2376 from danchr/tar-perms
Never retain ownership during installation
2 parents 45c727f + d9d6bd2 commit 0cbf6ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ docs/lima-sequence-diagram.png: docs/images/lima-sequence-diagram.puml
209209
install: uninstall
210210
mkdir -p "$(DEST)"
211211
# Use tar rather than cp, for better symlink handling
212-
( cd _output && tar c * | tar Cxv "$(DEST)" )
212+
( cd _output && $(TAR) c * | $(TAR) -xv --no-same-owner -C "$(DEST)" )
213213
if [ "$(shell uname -s )" != "Linux" -a ! -e "$(DEST)/bin/nerdctl" ]; then ln -sf nerdctl.lima "$(DEST)/bin/nerdctl"; fi
214214
if [ "$(shell uname -s )" != "Linux" -a ! -e "$(DEST)/bin/apptainer" ]; then ln -sf apptainer.lima "$(DEST)/bin/apptainer"; fi
215215

0 commit comments

Comments
 (0)