Add D Lind's fix to permissions