You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current umask only had files in mind and hence only allowed read and
write permissions for the user. If the new directory must be created
for DIR type credentials caches the 'execute' permission is needed as
well so that the user can change into the directory. This patch changes
the umask to allow this if a DIR type credential cache is requested.
Resolves: SSSD#5436
:fixes: krb5_child uses proper umask for DIR type ccaches
The current umask only had files in mind and hence only allowed read and
write permissions for the user. If the new directory must be created
for DIR type credentials caches the 'execute' permission is needed as
well so that the user can change into the directory. This patch changes
the umask to allow this if a DIR type credential cache is requested.
Resolves: SSSD#5436
:fixes: krb5_child uses proper umask for DIR type ccaches
The current umask only had files in mind and hence only allowed read and
write permissions for the user. If the new directory must be created
for DIR type credentials caches the 'execute' permission is needed as
well so that the user can change into the directory. This patch changes
the umask to allow this if a DIR type credential cache is requested.
Resolves: SSSD#5436
:fixes: krb5_child uses proper umask for DIR type ccaches
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Using the
DIR:
ccache, e.g. via this in/etc/krb5.conf
:the generated directory has bad permissions:
This seems to be caused by a bad umask, and I can confirm the patch posted by @sumit-bose here:
https://lists.fedorahosted.org/archives/list/sssd-users@lists.fedorahosted.org/message/3VMR4P7LTWYP6BPPQQ4JC63FFFGXUTWQ/
fixes it.
I tested this with
sssd-1.16.3
on Debian Buster (which does not haveCONFIG_PERSISTENT_KEYRINGS
configured in-kernel).The text was updated successfully, but these errors were encountered: