[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tar ignores --user and --group parameter with root user
From: |
Sergey Poznyakoff |
Subject: |
Re: tar ignores --user and --group parameter with root user |
Date: |
Fri, 30 Apr 2021 15:21:03 +0200 |
Niko Weidemann <niko.weidemann@deutschebahn.com> ha escrit:
> [RHEL soa@MINION test_dir]$ tar xvfz kibana-7.12.1-linux-x86_64.tar.gz
> --owner=soa --group=soa
The options --owner and --group take effect only when *creating* the
archive, not when *extracting* from it. Please see [1].
Regards,
Sergey
[1] https://www.gnu.org/software/tar/manual/html_node/override.html#index-owner