URL: https://github.com/freeipa/freeipa/pull/5526 Author: flo-renaud Title: #5526: ipatests: fix ipahealthcheck fixture _modify_permission Action: opened
PR body: """ The test is storing the initial file permissions obtained with 'stat', then modifies them, calls ipa-healthcheck and reverts the permissions to the original value.
When the file is a symlink, stat returns the permission of the link, not of the pointed-to file. But chmod modifies the permissions of the pointed-to file, not of the link. As a consequence, the fixture does not properly restore the original file permissions.
The fix consists in calling 'stat -L' because the command follows links.
Signed-off-by: Florence Blanc-Renaud flo@redhat.com """
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/5526/head:pr5526 git checkout pr5526
URL: https://github.com/freeipa/freeipa/pull/5526 Author: flo-renaud Title: #5526: ipatests: fix ipahealthcheck fixture _modify_permission Action: closed
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/5526/head:pr5526 git checkout pr5526
freeipa-devel@lists.fedorahosted.org