2 ms·
tar --create --owner=0 --group=0 --mtime='2000-01-01 00:00:00' \ --mode='go-rwxst' --file test.tar /bin/dash /etc/hosts tar --list --verbose --file test.
by Symbiote 3y ago
tar --create --owner=0 --group=0 --mtime='2000-01-01 00:00:00' \
--mode='go-rwxst' --file test.tar /bin/dash /etc/hosts
tar --list --verbose --file test.tar
-rwx------ root/root 125688 2000-01-01 00:00 bin/dash
-rw------- root/root 1408 2000-01-01 00:00 etc/hosts