Whamcloud - gitweb
LU-14479 ssk: explicitly set perm on key
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 8 Mar 2021 14:20:00 +0000 (15:20 +0100)
committerLi Xi <lixi@ddn.com>
Wed, 7 Apr 2021 14:41:30 +0000 (14:41 +0000)
commitfa7c2a12a06109abd2028b13818e1ee156c536d3
treed99ddae5e971d108eebca4e833bbcfe553bef72e
parent43835e757a6e097268af873681cf6adced6f08ff
LU-14479 ssk: explicitly set perm on key

When an SSK key is loaded, either via lgss_sk command or thanks to
skpath mount option, try to set permissions on the key.
This is to avoid a 'Permission denied' error when a Lustre client or
server wants to make use of the key later on.

Lustre-change: https://review.whamcloud.com/41929
Lustre-commit: f265033840996dcdffb2f05a64b51b51391a273c

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I1ed712ae4d07be306cc76b4e59fab303437558bb
Reviewed-on: https://review.whamcloud.com/43164
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
lustre/utils/gss/sk_utils.c