fixed chown issue with whitelist.