fix permissions to match upstream copies
fix permissions to match upstream copies