Skip to content

Insufficient authorization to access /opt/cascache  #180

Open
@klroesner

Description

@klroesner

Hello,
I am trying to write a file to the CAS server from Python and I get this error:

`pip install swat

import swat
import getpass
import os
import pandas as pd

conn = swat.CAS(xxxxx, xxxx, 'xxx', getpass.getpass(prompt='Dear user please enter your password:'), protocol="cas")

df = pd.read_csv('/userfs/iris.csv')

conn.upload(df, casout=dict(name='iris3', caslib='casuser', replace=True))

ERROR: Insufficient authorization to access /opt/cascache/_f_2b68d67_7f8cb6e4cb68.csv.
ERROR: Failed to create temporary resources for file upload.
ERROR: The action stopped due to errors.`

The permissions on the CAS controller look good to me:

image

Any idea?

Kind regards from Germany

Klaus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions