diff --git a/copyparty/up2k.py b/copyparty/up2k.py index f4b3e53f..044bdcb7 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -3000,7 +3000,8 @@ class Up2k(object): permsets = [[False, 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) + with self.mutex: + _, _, _, _, dip, dat = self._find_from_vpath(vn.realpath, rem) t = "you cannot delete this: " if not dip: