If I use sysupgrade to backup a specific directory and binary, does the directory and binary retain the same permissions from before running the sysupgrade?
For example, I have added execution rights to the binary and I am wondering if that binary will still have those execution rights after sysupgrade.
If not, I will have to figure out a way to script those execution rights.
I'd say yes, as I never changed any permissions post upgrade.
You can test by taking a backup and checking the permissions of the files. It is basically a tar.gz, so everything is preserved there.