/// <exception cref="Org.Apache.Hadoop.Hdfs.Protocol.AclException"/> private static void CheckAclsConfigFlag(FSDirectory fsd) { if (!fsd.IsAclsEnabled()) { throw new AclException(string.Format("The ACL operation has been rejected. " + "Support for ACLs has been disabled by setting %s to false." , DFSConfigKeys.DfsNamenodeAclsEnabledKey)); } }