From 02e211a5267aa8854a6fd541eaaadc6c04c2080c Mon Sep 17 00:00:00 2001 From: zako91 <56262719+zako91@users.noreply.github.com> Date: Sat, 29 Jun 2024 15:09:08 +0200 Subject: [PATCH] weed mount with non-root user --- FUSE-Mount.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/FUSE-Mount.md b/FUSE-Mount.md index f0da1b6..ad51a67 100644 --- a/FUSE-Mount.md +++ b/FUSE-Mount.md @@ -310,4 +310,10 @@ The issue is with samba.conf. If you see NT_STATUS_ACCESS_DENIED error, try to a Size: total number of volumes * volume size limit Used: (Logical Total Size of files - Logical Deleted File Size) * replication = physical disk size taken Available = Size - Used +``` +### Can't mount as non-root user ### +``` +Workaround is to use Linux capabilities on weed executable. +setcap cap_net_raw,cap_net_admin,cap_dac_override+eip /usr/local/bin/weed +After that you need to use "weed mount" with option allowOthers=false ``` \ No newline at end of file