fix the permissions on the folder