Added missing permissions for pathopt and swim commands.