External Publication
Visit Post

How should I write to bucket from a space

Hugging Face Forums [Unofficial] April 9, 2026
Source

I have a space, and a I have a bucket. I created them from web interface. then I mounted the bucket to the space (with Read & Write permission, to /data as default) with the space setting web interface.

however, in the space, the /data folder shows it belongs to “nobody:nogroup“.

ls -l /

drwxr-xr-x.    2 nobody nogroup   0 Apr  9 12:20 data

the space code now can list and read the /data folder, but cannot write to it.

mkdir u

mkdir: cannot create directory 'u': Permission denied

did I miss something when creating and mounting them? how should I fix it?

it’s a gradio space, so I don’t have Dockerfile to control how the bucket is mounted.

Discussion in the ATmosphere

Loading comments...