set permissions for init.d and its scripts