Browse Source

修复挂载点无法被其他用户访问的问题

feature_gxh
Sydonian 7 months ago
parent
commit
c34926f8f9
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      client/internal/mount/mount_linux.go

+ 4
- 1
client/internal/mount/mount_linux.go View File

@@ -48,9 +48,12 @@ func (m *Mount) Start() *MountEventChan {

nodeFsOpt := &fusefs.Options{
MountOptions: fuse.MountOptions{
FsName: "CDS",
AllowOther: true,
FsName: "CDS",
// Debug: true,
},
GID: m.cfg.GID,
UID: m.cfg.UID,
}
rawFs := fusefs.NewNodeFS(m.fuse.Root(), nodeFsOpt)



Loading…
Cancel
Save