rtkbase
rtkbase copied to clipboard
--no-same-owner --no-same-permissions in tar
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