Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insufficient authorization to access /opt/cascache #180

Open
klroesner opened this issue May 17, 2024 · 0 comments
Open

Insufficient authorization to access /opt/cascache #180

klroesner opened this issue May 17, 2024 · 0 comments

Comments

@klroesner
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant