Comment 0 for bug 1797291

Revision history for this message
Brin Zhang (zhangbailin) wrote :

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