mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
support xdev/xvol in rootless vfs; closes #603
This commit is contained in:
parent
6303effe59
commit
554cc2f3ee
|
@ -704,7 +704,7 @@ class HttpCli(object):
|
||||||
cookies["b"] = ""
|
cookies["b"] = ""
|
||||||
|
|
||||||
vn, rem = self.asrv.vfs.get(self.vpath, self.uname, False, False)
|
vn, rem = self.asrv.vfs.get(self.vpath, self.uname, False, False)
|
||||||
if "xdev" in vn.flags or "xvol" in vn.flags:
|
if vn.realpath and ("xdev" in vn.flags or "xvol" in vn.flags):
|
||||||
ap = vn.canonical(rem)
|
ap = vn.canonical(rem)
|
||||||
avn = vn.chk_ap(ap)
|
avn = vn.chk_ap(ap)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue