Support checking for su user to atomic_move

Fixes #7553