change permissions on cmd files to read-only