Skip to content

Commit

Permalink
External tar does not restore ownership
Browse files Browse the repository at this point in the history
It is problematic if we are installing into
mounts that have different users and/or do not
allow chmod().
  • Loading branch information
gaborcsardi committed Oct 22, 2024
1 parent 4f19720 commit 86724c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/install-tar.R
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ eup_get_args <- function(options) {
c(
"-x", "-f", path_norm(options$tarfile),
"-C", path_norm(options$exdir),
# do not restore ownership, this is problematic on some mounts, e.f. sshfs
"-o",
get_untar_decompress_arg(options$tarfile),
if (! options$restore_times) "-m",
options$files
Expand Down

0 comments on commit 86724c6

Please sign in to comment.