94
94
def open(self, path, flags, attr):
95
95
path = self._realpath(path)
97
98
fd = os.open(path, flags)
99
100
return SFTPServer.convert_errno(e.errno)
100
101
if (flags & os.O_CREAT) and (attr is not None):
101
102
SFTPServer.set_file_attr(path, attr)