Permission fixes for some files