From 848315c0091f66fe0f43dc5f2fe3babca16d3744 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 3 Aug 2025 22:43:57 +0000 Subject: [PATCH] do not force d2d with default vfs; #295 fixes v1.18.3 regression --- copyparty/authsrv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/copyparty/authsrv.py b/copyparty/authsrv.py index 76a09ecd..afbc24ba 100644 --- a/copyparty/authsrv.py +++ b/copyparty/authsrv.py @@ -1713,7 +1713,8 @@ class AuthSrv(object): t = "Read-access has been disabled due to failsafe: No volumes were defined by the config-file. This failsafe is to prevent unintended access if this is due to accidental loss of config. You can override this safeguard and allow read/write to the working-directory by adding the following arguments: -v .::rw" self.log(t, 1) axs = AXS() - vfs = VFS(self.log_func, absreal("."), "", "", axs, self.vf0()) + zvf = {"tcolor": self.args.tcolor} + vfs = VFS(self.log_func, absreal("."), "", "", axs, zvf) if not axs.uread: self.badcfg1 = True elif "" not in mount: