Fix file names and add t/981_permissions.t.
Testing permissions
Fix permissions