4 ms·
Your umask affects mode during extraction. You can pass -p to tar asking tar to attempt to restore exactly the modes in the archive. If you extract as root, it
by delinka 8y ago
Your umask affects mode during extraction. You can pass -p to tar asking tar to attempt to restore exactly the modes in the archive.
If you extract as root, it'll preserve the owner and group. Otherwise, the default is to assign the owner and group of the user running tar.