@wraps(method)
def wrapper(self, *args, **kwargs):
    if self.readonly:
        raise FuseOSError(EROFS)
    return method(self, *args, **kwargs)
@wraps(method)
def wrapper(self, *args, **kwargs):
    if self.readonly:
        raise FuseOSError(EROFS)
    return method(self, *args, **kwargs)