]> git.ipfire.org Git - thirdparty/shadow.git/commit
Add missing chmod() 432/head
author(GalaxyMaster) <galaxy4public@users.noreply.github.com>
Thu, 28 Oct 2021 00:16:59 +0000 (11:16 +1100)
committer(GalaxyMaster) <galaxy4public@users.noreply.github.com>
Thu, 28 Oct 2021 00:16:59 +0000 (11:16 +1100)
commita97399dd0a54f2b787fa256846d28011f5da1fca
tree2a767512cb8d168898c2a3c4fe580316f3b9e953
parent7d02af944f8b0ac0519198ecd1725f343f72d767
Add missing chmod()

During shadowtcb_move() the directory is temporarily changed to be
owned by root:root with permissions 0700.  After the change is done,
the ownership and permissions were supposed to be restored.  The
call for chown() was there, but the chmod() call was missing.  This
resulted in the broken TCB functionality.  The added chmod() fixes
the issue.
lib/tcbfuncs.c