From 088899d59f8797418ae7eaf6a78eb0b8cbc73976 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 18 Oct 2021 21:08:31 +0200 Subject: [PATCH] fix unpost in jumpvols --- copyparty/up2k.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/copyparty/up2k.py b/copyparty/up2k.py index 9d682e15..dfcbf850 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -1518,6 +1518,7 @@ class Up2k(object): try: permsets = [[True, False, False, True]] vn, rem = self.asrv.vfs.get(vpath, uname, *permsets[0]) + vn, rem = vn.get_dbv(rem) unpost = False except: # unpost with missing permissions? try read+write and verify with db @@ -1527,6 +1528,7 @@ class Up2k(object): unpost = True permsets = [[True, True]] vn, rem = self.asrv.vfs.get(vpath, uname, *permsets[0]) + vn, rem = vn.get_dbv(rem) _, _, _, _, dip, dat = self._find_from_vpath(vn.realpath, rem) m = "you cannot delete this: "