chmod etc minor fix