From 34cc143492880162822a2a7f1d0e6f5b0f2a6775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Mon, 15 Sep 2025 21:20:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E7=89=88fuse=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=BA=86nonempty=E5=8F=82=E6=95=B0?= 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 9fe4ce1b..840900b4 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 fuse _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 fuse _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 }