Skip to content

Commit

Permalink
Fix fuse timeout is not set (#5690)
Browse files Browse the repository at this point in the history
Signed-off-by: Changxin Miao <[email protected]>
  • Loading branch information
polyrabbit authored Feb 21, 2025
1 parent 67f10d7 commit 9e47a14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/fuse/fuse.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ func Serve(v *vfs.VFS, options string, xattrs, ioctl bool) error {
opt.MaxReadAhead = 1 << 20
opt.DirectMount = true
opt.AllowOther = os.Getuid() == 0
opt.Timeout = conf.FuseOpts.Timeout

if opt.EnableAcl && conf.NonDefaultPermission {
logger.Warnf("it is recommended to turn on 'default-permissions' when enable acl")
Expand Down

0 comments on commit 9e47a14

Please sign in to comment.