cddlib: fix permissions