clightning-replication: clarify comment about FUSE mounts
This commit is contained in:
parent
cd3878e357
commit
1713e016a0
@ -143,8 +143,11 @@ in {
|
|||||||
# We can't simply set `destDir` here because it might point to
|
# We can't simply set `destDir` here because it might point to
|
||||||
# a FUSE mount.
|
# a FUSE mount.
|
||||||
# FUSE mounts can only be set up as `ReadWritePaths` by systemd when they
|
# FUSE mounts can only be set up as `ReadWritePaths` by systemd when they
|
||||||
# are accessible by root. This would require FUSE-mounting with option
|
# are accessible by root.
|
||||||
# `allow_other`.
|
# But FUSE mounts are only accessible by the mounting user and
|
||||||
|
# not by root.
|
||||||
|
# (This could be circumvented by FUSE-mounting `destDir` with option `allow_other`,
|
||||||
|
# but this would grant access to all users.)
|
||||||
(if useMounts then mountsDir else localDir)
|
(if useMounts then mountsDir else localDir)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user