fix directory permissions on install