Fix up HDFS permissions.