'Determine the setting to use for Secure NAS options.
This method must be overridden by child wishing to use secure
NAS file operations. This base method will set the NAS security
options to false.'

def set_nas_security_options(self, is_new_cinder_install):

    doc_html = 'http://docs.openstack.org/admin-guide/blockstorage_nfs_backend.html'
    self.configuration.nas_secure_file_operations = 'false'
    LOG.warning('The    NAS    file    operations    will    be    run    as    root:    allowing    root    level    access    at    the    storage    backend.    This    is    considered    an    insecure    NAS    environment.    Please    see    %s    for    information    on    a    secure    NAS    configuration.', doc_html)
    self.configuration.nas_secure_file_permissions = 'false'
    LOG.warning('The    NAS    file    permissions    mode    will    be    666    (allowing    other/world    read    &    write    access).    This    is    considered    an    insecure    NAS    environment.    Please    see    %s    for    information    on    a    secure    NFS    configuration.', doc_html)
