tss2-tools: retain executable permission for user and group in umask
tss2-tools: retain executable permission for user and group in umask

The umask affects files and directories alike, see man umask(2). Creating FAPI
objects entails creating new directories as well, which will not be searchable,
leading to failures like

ERROR:fapi:src/tss2-fapi/ifapi_helpers.c:986:create_dirs() mkdir not possible: -1 /tmp/tpm2_test_umRcf1/tss2_fapi.6tZ4O8/keystore_system/P_RSA/HE/
ERROR:fapi:src/tss2-fapi/ifapi_helpers.c:1013:ifapi_create_dirs() ErrorCode (0x0006000b) Create directories for /P_RSA/HE/EK
ERROR:fapi:src/tss2-fapi/ifapi_keystore.c:710:ifapi_keystore_store_async() ErrorCode (0x0006000b) Directory /P_RSA/HE/EK could not be created.
ERROR:fapi:src/tss2-fapi/api/Fapi_Provision.c:835:Fapi_Provision_Finish() ErrorCode (0x0006000b) Could not open: HE/EK
ERROR:fapi:src/tss2-fapi/api/Fapi_Provision.c:168:Fapi_Provision() ErrorCode (0x0006000b) Provision
Fapi_Provision(0x6000B) - fapi:A parameter has a bad value

To avoid this issue, the umask needs to retain the executable permission for
user and group. This has no implications for files created by the FAPI since
these are created using fopen(), which uses mode 0666 (so no executable
permission), see man fopen(3).

Fixes: 98176e9f1e8c4f866a071cb650ee4d873d72cb23
Signed-off-by: Jonas Witschel <87a164e5d00d5dcdd001e37b34ea8bcd3fc3a172@gmx.de>

01org/tpm2.0-tools,01org/tpm2.0-tools,01org/tpm2.0-tools