In manila, Using the cifs protocol in Manila's Shared File Systems, when it is not able to store properly when written in a file, you need to convert the file permission 'rw' to 'rwx' in the [1] method.
@staticmethod def transfer_rule_to_client(proto, rule): """transfer manila access rule to backend client"""
# TODO: Here need to process the rule of ``cifs``
return dict(name=rule['access_to'], type=(0 if proto == 'nfs' else 1), authority=rule['access_level'])
[1] https://github.com/openstack/manila/blob/master/manila/share/drivers/inspur/as13000/as13000_nas.py#L465
In manila, Using the cifs protocol in Manila's Shared File Systems, when it is not able to store properly when written in a file, you need to convert the file permission 'rw' to 'rwx' in the [1] method.
@staticmethod rule_to_ client( proto, rule):
def transfer_
"""transfer manila access rule to backend client"""
# TODO: Here need to process the rule of ``cifs``
return dict(name= rule['access_ to'],
type= (0 if proto == 'nfs' else 1),
authority =rule[' access_ level'] )
[1] https:/ /github. com/openstack/ manila/ blob/master/ manila/ share/drivers/ inspur/ as13000/ as13000_ nas.py# L465