From af2d856576f15091bb46352c77d7742f270b0689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 28 Jan 2026 07:21:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20s3fs=E5=8D=B8=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/apps/s3fs/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/apps/s3fs/app.go b/internal/apps/s3fs/app.go index b9ce9c2f..bb857c08 100644 --- a/internal/apps/s3fs/app.go +++ b/internal/apps/s3fs/app.go @@ -94,7 +94,7 @@ func (s *App) Create(w http.ResponseWriter, r *http.Request) { service.Error(w, http.StatusInternalServerError, s.t.Get("failed to create passwd file: %v", err)) return } - if _, err = shell.Execf(`echo 's3fs#%s %s fuse3 _netdev,allow_other,nonempty,url=%s,passwd_file=/etc/passwd-s3fs-%s 0 0' >> /etc/fstab`, req.Bucket, req.Path, req.URL, cast.ToString(id)); err != nil { + if _, err = shell.Execf(`echo 's3fs#%s %s fuse3 _netdev,allow_other,url=%s,passwd_file=/etc/passwd-s3fs-%s 0 0' >> /etc/fstab`, req.Bucket, req.Path, req.URL, cast.ToString(id)); err != nil { service.Error(w, http.StatusInternalServerError, "%v", err) return }