Does SysUpgrade Retain Directory and Binary Permissions

Hi everyone, just a quick question.

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.

Thank you for your time.

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.

2 Likes

Thank you. That is good to know.

Yes, great idea. Extracting the backup and checking permissions is a great idea to try and would be reassuring as well.

I just checked the tar.gz backup file and it does, indeed, retain the file permissions. So this is fantastic.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.