clightning-replication: clarify comment about FUSE mounts

This commit is contained in:
Erik Arvstedt 2022-08-22 14:57:43 +02:00
parent cd3878e357
commit 1713e016a0
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -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)
]; ];
}; };