Fix wrong sub directory permissions