Attempt to fix some permission problems