rtkbase icon indicating copy to clipboard operation
rtkbase copied to clipboard

--no-same-owner --no-same-permissions in tar

Open Jef239 opened this issue 1 year ago • 0 comments

I ran create_install.sh on Windows in git-bash and got bundled install. During installation, the files had incorrect user and group names. This can be resolved by adding the --no-same-owner option to the tar. It also makes sense to add the --no-same-permissions switch.

As I understand it, the construction "sudo -u "${RTKBASE_USER}" tail -n+${ARCHIVE} "${0}" | tar xpJv" is first separated by a "|" into two parts, and then only the first part is executed under sudo

Jef239 avatar Mar 21 '24 18:03 Jef239