juicedata / juicefs

JuiceFS is a distributed POSIX file system built on top of Redis and S3.
https://juicefs.com
Apache License 2.0
10.63k stars 928 forks source link

S3 Gateway Cannot Be Started by Non-root Users #4880

Closed yuhr123 closed 4 months ago

yuhr123 commented 4 months ago

What happened:

I am using JuiceFS v1.2.0-beta1, and when I start the S3 gateway as a regular user, an error occurs indicating that there is no write permission to the directory "/.sys/.minio.sys/tmp/xxx".

image

How to reproduce it (as minimally and precisely as possible):

# Using a non-root user
export MINIO_ROOT_USER=admin
export MINIO_ROOT_PASSWORD=xxxx
juicefs gateway redis://xxx.com/1 0.0.0.0:9898

Environment:

zhijian-pro commented 4 months ago

fix by https://github.com/juicedata/juicefs/pull/4891