Improve permissions handling in temporary keytab files

Description

PR: https://github.com/truenas/middleware/pull/8476

Ensure that temporary keytab files are generated with
0o600 permissions and that directory where they are
created has 0o700 permissions. Generally clean up
this script as well.

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk March 8, 2022 at 9:07 PM

Bug Clerk March 8, 2022 at 9:07 PM

Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Priority

Katalon Platform

Created March 8, 2022 at 8:57 PM
Updated April 19, 2022 at 2:07 PM
Resolved March 9, 2022 at 6:17 PM