fix-perms bashrc function