dmd: fix permissions.