Fixed permissions
Merge branch '4.0'