Commit d3ae0c6c authored by Levin Zimmermann's avatar Levin Zimmermann

wcfs/fuse: Allow other users to access file system

On Theia all Slappartitions have the same user, however on bare-metal
SlapOS each partition has a different user. In this case zope nodes are
not allowed to read WCFS, because they belong to a different user (even
when every user read permission). This is a feature of FUSE and can be
disabled with 'allow_other'. This is unconditionally done with this
patch to allow deployment of WCFS on bare-metal SlapOS.
parent db6fea3d
...@@ -2838,6 +2838,9 @@ func _main() (err error) { ...@@ -2838,6 +2838,9 @@ func _main() (err error) {
DisableXAttrs: true, // we don't use DisableXAttrs: true, // we don't use
Debug: *debug, Debug: *debug,
// Give access to zope users (that reside on a different Slappartition than WCFS)
AllowOther: true,
} }
fssrv, fsconn, err := mount(mntpt, root, opts) fssrv, fsconn, err := mount(mntpt, root, opts)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment